Rich Lafferty wrote:
>
> I'm not sure what you mean when you say that's not what
> you're asking, since
> you asked how to give root privileges to a user, and sudo is
> a good way of doing
> that.
>
> Sudo ought to work fine for you -- that's what we use
> internally. I'd recommend
> creating a group via the server-manager and adding to that
> group the users
> you want to have root privileges, and then giving the group,
> not individual
> users, privileges in /etc/sudoers (via visudo!):
>
> %groupname ALL=(ALL) ALL
>
> visudo and vipw are *compiled programs* used to edit the
> password file
> and the sudoers file; you shouldn't change those (and I'm not
> sure how you
> could, other than breaking them entirely or replacing them).
> But the file
> /etc/sudoers, edited by visudo, is not templated and is how
> you configure
> sudo to grant root privileges to regular users when they need
> them.
>
> Specifically, you do not want to make other users UID 0.
> (Also, note that
> "admin" is not "root".)
>
> Hope this helps,
>
> -Rich
This is what I wanted. I did not know the particulars of editing with visudo.
Thanks, Steve