On Wed, Feb 26, 2003 at 11:46:50AM -0800, Alan Maciel wrote:
> I need 3 user accounts, one needed for the production site, the
other for the support department > so the users logins will be: > >
'production' and 'support' > > I created with adduser <name> > and I
set them the password with passwd <name> > > I need this users accounts
with root privileges, so I think that if I give the root password to
this users they can use the 'su' command to do all their admin tasks,
but how do I prevent this users so they don't log in as 'root' in the
login screen directly only with the 'su' command?  >

Hi Alan - you need to use the "sudo' command which allows regular users to
have root privileges to get needed work done.  At the same time it prevents
them from logging in as root.

"man sudo"  has a little info, "man 5 sudoers" has much more and includes
examples of how to set up the "sudoers" file which regulates who can do what.

It includes an example of how to set up a person to do anything they want,
they just have to authenticate themselves first.

By the way, could you please post your email in plain text, wrapped to 72
chars wide?  Its the preffered format for all RedHat email lists.
As you can see from the above your email comes through kinda garbled in 
some non-MIME readers. 

To see how to set up out look to not send MIME etc.. see this document:
http://expita.com/nomime.html

Please go see the RedHat Install list user's guide to learn
how to use this list.  Its located at:
http://www.rps2.net/rhil-guide.htm 
OR 
http://kinz.org/rhilg.html
Most of what is said there applies to all the RedHat email lists.

-- 
Jeff Kinz, Open-PC, Emergent Research,  Hudson, MA.  [EMAIL PROTECTED]
 copyright 2003.  Use is restricted. Any use is an 
acceptance of the offer at http://www.kinz.org/policy.html.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to