You are not logged in.
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
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
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
Thanks,
I will try.
Goodbye!
Offline
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
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
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
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
I make that I wanted make.
Thanks.
Goodbye!
Offline