![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Memory Usage Monitoring | sbn | HP-UX | 2 | 05-11-2008 04:29 PM |
| CPU usage and memory usage | mansoorulhaq | High Level Programming | 1 | 08-09-2007 04:55 PM |
| DB2 Monitoring | sprellari | AIX | 0 | 05-30-2006 09:57 AM |
| Monitoring CPU usage on AIX 5.3 with SNMP | art | UNIX for Advanced & Expert Users | 2 | 07-01-2005 03:20 AM |
| Monitor CPU usage and Memory Usage | Gajanad Bihani | High Level Programming | 2 | 03-09-2005 07:35 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Monitoring SU usage
I hope this is the correct forum - apologies to all if I am mistaken.
We are fairly sure someone has got access to the root password on one of our machines and is 'playing silly b*****rs' with it. Due to local politics we can't easily get the password changed and we need to gather some info to get things changed. Does anyone know if it is possible to track/trace/log the use of su (or any other command for that matter though su is the one we are most interested in) We are using Linux - uname -a output below Linux <hostname> 2.4.9-e.57enterprise #1 SMP Thu Dec 2 20:45:51 EST 2004 i686 unknown Many thanks for any info/advice |
|
|||||
|
ajcannon,
If someone got root once on your linux system then you're in trouble! Chance are he/she will be able to wipe out any suspicous activity such as root su/login etc... But If the user is pretty dumb You can always alias the su command to log some info, something likeCode:
alias su='TOTO=`tty | sed -e 's,^/dev/,,'`; who -u |grep $TOTO>> /tmp/su.log; /bin/su' |
|
||||
|
Quote:
If you had a bull rampaging in your china shop would you be trying to find the farmer or trying to protect your merchendise? |
|
|||||
|
Stuff the politics, there are bigger concerns than people's ego's.
It's a security issue. Just change the root password. Not sure if it's the case with all unix/linux systems, but on HP-UX you can restrict who can su to root (I called the group 'rooters') . If you're not in that group, then no can do. Cheers, Cameron Last edited by Cameron; 10-01-2007 at 08:33 PM.. Reason: poor punctuation ;) |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|