The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
switching user from root to ordinary user sasia Shell Programming and Scripting 3 01-25-2008 06:25 PM
How to configure ssh for root user....??? jumadhiya SUN Solaris 4 02-13-2007 06:52 AM
Want to block ftp for root user jumadhiya SUN Solaris 3 02-07-2007 01:01 AM
Su to user from root nitin Shell Programming and Scripting 3 10-25-2006 12:21 AM
Other than root user .Normal user is unable to create files mallesh UNIX for Advanced & Expert Users 1 06-22-2005 09:18 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-29-2002
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
Red face root user

I am writing a korn script on solaris 8 and I need
to find out which user has su to root without
checking sulog

I have tried the following

who, id, echo $LOGNAME

but none of the above shows me which users has su to root

can you help please
Forum Sponsor
  #2 (permalink)  
Old 05-29-2002
Kelam_Magnus's Avatar
Unix does a body good.
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
no config file for su

hassan2,

I have a Sun guru who sits near me at work. He said there is no config file or validation script that checks to see who has su rights. If you have the root passwd, then you can get to root with no validation of your necessity to have root access.

Kinda scary if you ask me!

The only way you will know who has su rights is to grep the sulog. Unless there is another file that holds this data.


In HPUX we have a configuration file invoked by a tool called scfmgr that managed who gets su rights to root. If an unauthorized user does su to root in HPUX. A warning message is sent to root regarding unauthorized use.

__________________
My brain is your brain
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0