Re: root user specific commands
- From: "Doug Freyburger" <dfreybur@xxxxxxxxx>
- Date: 11 Apr 2006 08:46:13 -0700
v4vijayakumar@xxxxxxxxx wrote:
In Unix, many of the commands are specific to ROOT(admin) User, for
example "useradd" lets say..
Even though, the permissions for others (using chmod) can be changed so
that this particular command be executed from other users, you would
not be able to successfully execute the command..
Ex:
[deepak@nis_server deepak]$ ls -l /usr/sbin/useradd
-rwxr-xr-x 1 root root 52168 Mar 28 2002
/usr/sbin/useradd
[deepak@nis_server deepak]$ useradd hello
useradd: unable to lock password file
Can you perform a single step operation ( from the Admin user login)
such that these commands (let's start with useradd) be able to be
successfully executed from any other user ??
Conceptually - Before you get told how to do it you need to
be qualified to do it. Once you can explain why you're setting
yourself up for trouble, what kind of trouble you'll be getting
yourself into, and how to handle those troubles, then you will
be qualified to actually use the answer.
It's a chicken-and-egg issue. You need to know why it's a
bad idea before you should know how to do it. If all I did was
tell you the names of the commands you could use, it would
be like pulling the pin on a hand grenade and handing it to
you.
So, why do you wish to risk your entire network by doing this
and how do you expect to control those risks? Keeping the
useradd command in specific for root use is the first strategy
to limit the risks.
.
- References:
- root user specific commands
- From: v4vijayakumar
- root user specific commands
- Prev by Date: nfs question
- Next by Date: Re: nfs question
- Previous by thread: Re: root user specific commands
- Next by thread: Re: root user specific commands
- Index(es):
Relevant Pages
|
|