Re: giving root access



On Jul 1, 1:10 pm, Teemu Likonen <tliko...@xxxxxx> wrote:
On 2009-07-01 01:04 (-0700), zix wrote:



Hi, I know there has been enough discussion on this, but still cant
find the right answer.
If I change the /etc/sudoers file by visudo and try to give any user
root access, why cant i use adduser, or passwd?

# User privilege specification
root ALL=(ALL) ALL
zix ALL=(ALL) ALL

[zix@dns comps]$ adduser zix1
adduser: unable to lock password file

passwd sandy
passwd: Only root can specify a user name.

how do I make the change?any quick help please, somebody..

Sudo means access control through "sudo" command. So, try:

$ sudo adduser zix1

That user (zix) needs to give his/her own address.

oops, then i dont want in that way..i want a user who has full access
rites as root.how do i do that?no sudo...and yes, i do understand the
security risks, so please no advice why i should not give fll root
access to users :-)
i have tried addgroup...it didnt help..any other ways of doing that?

Thanks everybody,
zix

.



Relevant Pages

  • giving root access
    ... Hi, I know there has been enough discussion on this, but still cant ... root access, why cant i use adduser, or passwd? ...
    (comp.os.linux.development.system)
  • Re: giving root access
    ... root access, why cant i use adduser, or passwd? ... Sudo means access control through "sudo" command. ...
    (comp.os.linux.development.system)
  • Re: unable to su to root, sudo works
    ... sudo, miy user passwd, su, roots. ... then ran passwd for root to varify ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Tiger, Root User, SuperUser, FileVault, and Master Password
    ... >> It is better security to not have the same passwd to the user account ... >> as will get you into the root account. ... Sudo gets you into the root ... > does not add security. ...
    (comp.sys.mac.system)
  • Re: Add user in Unix from command Line
    ... "adduser" but with no luck. ... And also i wanted to know that when i login as a regular user and then ... do work as root, not just have the abilities to modify files, etc. ...
    (comp.unix.sco.misc)