Arthur Petit sez:
} hi again...
} 
} when i type sudo and then my root passwd it says  that it's a bad 
} passwd...
} 
} i wanted to use sudo to can use fink comander...
} 
} i remember that i had found on the net how to do to don't asking root 
} passwd at sudo prompt....

By default, sudo expects the user's password. One can, however, put the
line

Defaults        rootpw

in the sudoers file (run visudo as root) so that it expects the root
password.

There are those who consider this undesirable because it means anyone who
will be using sudo must know the root password and, therefore, could just
as easily become root and do whatever they want. On the other hand, given
the exceedingly few people with accounts on my machine (my gf and me) and
the fewer accounts from which administration is ever done (mine), I would
much prefer that sudo requires as much authentication as root itself.

Incidentally, I have the following set in my sudoers file:

myaccount     ALL= ALL, NOPASSWD: /sw/bin/fink, /sw/bin/apt-get, /sw/bin/dselect

This allows me to run fink admin commands from sudo without a password. I
don't recommend it for everyone (it isn't great security), but it's damned
convenient.

} thanks again...
--Greg


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to