Giving a user root priveleges?

2009-11-17 Thread Zachary Uram
I edited /etc/sudoers file and added: userALL=(ALL) ALL But when I try to sudo as that user to root I get error: $ sudo su root 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

Re: Giving a user root priveleges?

2009-11-17 Thread Todd A. Jacobs
On Tue, Nov 17, 2009 at 02:03:26PM -0500, Zachary Uram wrote: [sudo] password for zu22: Sorry, try again. [sudo] password for zu22: sudo: pam_authenticate: Conversation error Looks like a PAM problem. If you've previously installed debsums, I'd suggest the following: debsums

Re: Giving a user root priveleges?

2009-11-17 Thread Preston Boyington
Zachary Uram wrote: snipped But when I try to sudo as that user to root I get error: $ sudo su root I think there is some confusion. I don't know of any reason to use both 'su' and 'sudo' in a command. either you would 'su' to root or you would 'sudo' to run a singular command. 'su' is to

Re: Giving a user root priveleges?

2009-11-17 Thread PaulNM
Preston Boyington wrote: I think there is some confusion. I don't know of any reason to use both 'su' and 'sudo' in a command. either you would 'su' to root or you would 'sudo' to run a singular command. 'su' is to change into superuser (root) until you exit. 'sudo' is to temporarily be

Re: Giving a user root priveleges?

2009-11-17 Thread John L Fjellstad
Zachary Uram net...@gmail.com writes: I edited /etc/sudoers file and added: userALL=(ALL) ALL But when I try to sudo as that user to root I get error: $ sudo su root We trust you have received the usual lecture from the local System Administrator. It usually boils down to these

Re: Giving a user root priveleges?

2009-11-17 Thread Boyd Stephen Smith Jr.
On Tuesday 17 November 2009 16:06:50 PaulNM wrote: Preston Boyington wrote: I don't know of any reason to use both 'su' and 'sudo' in a command. either you would 'su' to root or you would 'sudo' to run a singular command. 'su' is to change into superuser (root) until you exit. 'sudo'

Re: Giving a user root priveleges?

2009-11-17 Thread Tom H
I edited /etc/sudoers file and added: user    ALL=(ALL) ALL But when I try to sudo as that user to root I get error: $ sudo su root [sudo] password for zu22: Sorry, try again. [sudo] password for zu22: sudo: pam_authenticate: Conversation error How can I fix this? This message usually