[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] Is there a way/place which will log admin.
- Subject: RE: [cobalt-developers] Is there a way/place which will log admin.
- From: "KAMRY" <kamry1888@xxxxxxxxx>
- Date: Tue Jun 19 11:54:04 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
I think a better way (for automation) is to write a script and throw it in
cron so that every day it processes the log file. In other words, you would
write a script to parse the log file containing the ftp & telnet
successful/failed log in, and then you can write & append to a file to keep
for your records. You can parse the file and extract information by the date
since that file has:
April 6
OR
June 1
...
So if today is June 1, then the script would parse lines containing June 1,
and so on.
Kal
-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Nicole van
Rossum
Sent: Tuesday, June 19, 2001 11:59 AM
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-developers] Is there a way/place which will log
admin.
Hi,
You can telnet in to the system and type 'last admin' to see who logged
on directly to the system with telnet as 'admin'. This will not show the
people who did a su - to the root-user.
The commandline history of the admin user can be found in his
.bash_history or type 'history|more'
--
Kind regards,
Nicole van Rossum
flash wrote:
>
> Is there a place or a way I can log the information for everyone who logs
in
> as admin?
> Like the ip address and time and other stuff, for web(/admin/) ftp and
> telnet.
>
> Thanks,
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com