Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

users who can be root 1

Status
Not open for further replies.
Anyone can type in "su - root"

If you are trying to limit who can do this successfully, create a group of allowed users (e.g., "rootusers") and then set the "sugroups" attribute for the root account.

chuser sugroups=rootusers root

This limits access to those people who know the root password and are a member of that group.

You should also set rlogin=false for root, and other considerations in your referenced topic.

Regarding what "what users have been to 'su - root' recently" you can check that in the /var/adm/sulog
grep root /var/adm/sulog

gg
 
An interesting discussion, thanks. I'm from a mainly Solaris background so all of this is somewhat new to me.
 
I use the method ggauthier describes for all "higher authority" users. For example, "DBA" accounts.

You can also make the chuser change through smit user (change characteristics).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top