You are not logged in.

#1 2006-06-09 15:51:41

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

That add user, then not write "premission denied"?

That add usser, then not write to it that: premission is diened, then try, for example, install ALSA:
[al@myhost ~]$ mkdir /usr/src/alsa
mkdir: cannot create directory `/usr/src/alsa': Permission denied

?
I have addaded user that:
useradd -m -s /bin/bash al
passwd al


Goodbye!

Offline

#2 2006-06-09 16:38:42

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: That add user, then not write "premission denied"?

Only root should be able to make subdirectories of /usr/src - regular users should not be allowed, just like you've shown.

If you want to mess with the /usr tree, you'll need to use root.

Offline

#3 2006-06-09 17:17:15

user
Member
Registered: 2006-03-29
Posts: 465

Re: That add user, then not write "premission denied"?

use "adduser" instead of "useradd".

su
vi /etc/sudoers


I removed my sig, cause i select the flag, the flag often the target of enemy.

SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]

Offline

#4 2006-06-09 17:23:33

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: That add user, then not write "premission denied"?

Thanks,
I will try.


Goodbye!

Offline

#5 2006-06-10 09:55:37

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: That add user, then not write "premission denied"?

Then write "su" ask for password, but root do not have password. Enter not work.
"/etc/sudoers" do not exist.
I write "useradd alik", but for alik user also premission denied.


Goodbye!

Offline

#6 2006-06-10 11:06:17

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: That add user, then not write "premission denied"?

have you set a root password?
ie: login as root run "passwd" <no quotes , it will ask you for new password
by default root has no password until you login then set password
until then it wont let you su

/etc/sudoers
will be there after "pacman -S sudo" <with root priveledge
that will install sudo

Offline

#7 2006-06-10 11:58:25

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: That add user, then not write "premission denied"?

Thanks,
I in "/etc/sudoers" uncomment some lines with nano editor, but can not for example "delete /etc/modprobe.conf", write:
Cannot move "/etc/modprobe.conf" to the trash because you do not have permissions to change it or its parent folder.


Goodbye!

Offline

#8 2006-06-10 12:36:47

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: That add user, then not write "premission denied"?

1) the sudoers file does only work for commands done with "sudo", for example:

sudo rm /etc/modprobe.conf

(warning: the above command does NOT use the trash can)

You can also use "sudo -s" to do the same as "su". But set a root password like someone explained, and "su" will work fine too.

2) It sounds like you're trying to graphically delete the file - su or sudo does only work in the terminal you ran it in (unless you run a graphical app from it). You can however "sudo konqueror", "sudo nautilus" or something, but I don't think that's a good idea since it's very easy to make mistakes...

3) Why do you want to delete /etc/modprobe.conf? Maybe it's empty, but it will be reinstalled anyway the next time you install/upgrade module-init-tools.

Offline

#9 2006-06-10 13:02:30

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: That add user, then not write "premission denied"?

I make that I wanted make.
Thanks.


Goodbye!

Offline

Board footer

Powered by FluxBB