From: "Lease, Mike" <Mike.Lease@hp.com>
To: <axp-list@redhat.com>
Subject: RE: Creating Su Login
Date: Thu, 14 Nov 2002 11:46:12 -0500 [thread overview]
Message-ID: <9BC49C4B559D46469E8DD8D32BDA77430132B557@tayexc13.americas.cpqcorp.net> (raw)
My suggestion would be to use the "sudo" command. Basically, this
allows a regular user to run a restricted set of commands that
require root privileges (thus, you can give the user access ONLY
to what is absolutely necessary, and deny access to everything
else). You would add the username to the file /etc/sudoers, along
with the commands that that user is permitted to run as root. The
user is prompted for his own password (to avoid problems with
someone else running sudo from an unattended login), and then if
everything is correct, the command is executed. There are man
pages for both sudo and sudoers for details on how to use the
command and how to add the appropriate entries to /etc/sudoers,
and I would recommend reading the security notes and caveats near
the bottom of the sudo man page.
-Mike
-----Original Message-----
From: karthikeyan [mailto:karthikeyan@aspiresys.com]
Sent: Thursday, November 14, 2002 12:48 AM
To: axp-list@redhat.com
Subject: Creating Su Login
Hi All,
I m new to this admin stuff. I have an SSH root login access to my
friends server at florida. My question would be how to create a login less
powerfull then [root] so that i can share with a person who is trying to
build a Control Panel for our Hosting Site. I know how to create user using
[useradd <user name>].
Environment : Redhat 7.3
Looking forward for earliest response.
karthikeyan.
_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list
next reply other threads:[~2002-11-14 16:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-14 16:46 Lease, Mike [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-14 16:06 Creating Su Login Robert M. Riches Jr.
2002-11-13 13:08 Fwd: LFS'ing an alpha, continued Kelledin
2002-11-13 14:49 ` Falk Hueffner
2002-11-14 5:48 ` Creating Su Login karthikeyan
2002-11-14 17:03 ` Michal Jaegermann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox