Summary root alternative

Richard Williams RWilliams at B-Line.ca
Wed Apr 2 08:57:03 EST 2003


Thanks to all that replied.

I will go with the example below. Thanks Allan.

-----Original Message-----
From: Alan Bradley - CPX WC [mailto:AlanB at ComparexAfrica.co.za]
Sent: April 2, 2003 8:46 AM
To: 'Richard Williams'
Subject: RE: root alternative


Hi Richard,

Make a user id and then give it the same uid and gid as root by manually
editing the /etc/passwd file.

For example if you edit /etc/passwd and the root entry is as follows:

root:x:0:1:The Super User:/home/root:/usr/bin/ksh

and your user account line is as follows:

rrabbit:x:1001:10:Roger Rabbit:/home/rrabbit:/bin/ksh

Then, you would edit your user account line to be:

rrabbit:x:0:1:Roger Rabbit:/home/rrabbit:/bin/ksh

Hope that helps.  BTW I wouldn't disable the root user personally.

Regards,
Alan.


NOTICE: The contents of this message and any attachments are personal to the
sender and, whilst having been sent using the Comparex Africa (Pty) Ltd
e-mail system, are not, and should not be construed as having been sent on
behalf of Comparex Africa (Pty) Ltd.


-----Original Message-----
From: Richard Williams [mailto:RWilliams at B-Line.ca]
Sent: Wednesday, April 02, 2003 3:36 PM
To: Sunmanagers (E-mail)
Subject: root alternative


Hi Managers,

I am using a Solaris 8 environment and wish to use an alternate account with
all root privileges. How do I disable root and create a back up account to
work with.

Richard
_______________________________________________
sunmanagers mailing list
sunmanagers at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers




More information about the summaries mailing list