You are not logged in.
Hi,
I installed sudo by typing "pacman -Sy sudo" however when I type, for example:
sudo gedit /etc/X11/xorg.conf
output is this:
[solano@localhost ~]$ sudo gedit /etc/X11/xorg.conf
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:
[solano@localhost ~]$
and not open the gedit
anybody can help me?
Last edited by solanoalves (2008-02-08 23:21:16)
How did you know? I love this song!
Offline
First, you must be a member of the group 'wheel'.
# gpasswd -a yourusername wheel
Then, edit the sudoers file as root. (You'll need to use vi/vim)
# visudo
Enjoy.
Offline
This wiki page might give you some help:
http://wiki.archlinux.org/index.php/Sudo
First, you must be a member of the group 'wheel'.
This isn't actually necessary but it is one way of configuring sudo, could be done in other ways which doesn't depend on the wheel group.
Offline
thanks guys!! it worked!
How did you know? I love this song!
Offline
simply add user to sudo
you can also add application and set it to run without password
Offline
very dangerous without password
How did you know? I love this song!
Offline
very dangerous without password
on the contrary:
1. prevents (root) password transmission
1a. pam ^ option to use su without providing password
2. no need to give everybody root password (which defies whole point of security)
3. easy to revoke (the only way to revoke once given root password is to change it, better not to give it at all) by removing user from sudo
4. easier administration
whole point of security is to lower, not enhance privileges.
you can configure a lot of daemons to run without root privileges.
root is a god, one god per computer is more than enough
Last edited by broch (2008-02-09 01:33:52)
Offline