NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Running commands as su instead of root
On Tue, Mar 10, 2009 at 06:58:55PM +0000, Miguel Estrada wrote:
> How do I configure NetBSD-4.0.1 so that all commands run only as root can
> be run as su, or even better, 'sudo'?
1.) If you user account is a member of the group "wheel" you should be
able to run commands like this:
su root -c "shell command"
2.) "sudo" is available in package sources in "pkgsrc/security/sudo".
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index