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
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
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.