![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| nis users | manoj123 | Filesystems, Disks and Memory | 3 | 07-31-2008 04:03 AM |
| Users in AIX | Lost in AIX | AIX | 3 | 06-04-2007 02:44 PM |
| Users In AIX | Lost in AIX | UNIX for Dummies Questions & Answers | 1 | 05-24-2007 04:12 PM |
| Users on AIX 5.2 | aldowsary | AIX | 4 | 11-06-2006 10:30 PM |
| do i need these users? | csaunders | SUN Solaris | 3 | 04-11-2006 02:45 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to log what users are doing??
Guys i am new in forum and come to ask some help in this. What i want is to log what users are doing. Someone told me to make a script and get the history commands of all users and storage this in a DB. but the problem in this is, i want to log all things. Why this? why my 2 machines is only a gateway to access routers and i need to log, 1- the username he logged in, 2- the router he used telnet and 3 - the username he used to login in router.
plz guys help me with this task... the machine i have to do this is SunOS xxxxxx 5.8 Generic_117350-24 sun4u sparc SUNW,Sun-Fire-480R ty all |
|
||||
|
Ty very much Otheus, i am looking now for snoopy, but i have a doubt...
this snoopy can log the username he use in a session with a routers? Edited: I am trying to install and i get some errors... whe i use make this is what i get gcc -shared -O3 -fomit-frame-pointer snoopy.c -osnoopy.so -ldl snoopy.c: In function `log': snoopy.c:74: `LOG_AUTHPRIV' undeclared (first use in this function) snoopy.c:74: (Each undeclared identifier is reported only once snoopy.c:74: for each function it appears in.) make: *** [snoopy.so] Error 1 Sry if this is a simple problem, but i dont know much about unix/linux, i am new with this SO Last edited by Amgrim; 10-28-2008 at 12:20 PM.. |
|
|||||
|
Look on sourceforge.net. It logs the userid, the command, and any arguments. No environment variables or input from STDIN are logged. So if he does:
Code:
$ telnet 192.168.3.2 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|