I'm wanting to see who has been logged on my suse box an was wondering by default if there is a log logging this info of would I need to setup something up. I have given a couple friends access from the internet to run/test some shell scripts an such. jack Jack Malone East Texas Lighthouse for the Blind dba Horizon Industries jack@malone.tyler.com 903-595-3444 fax 903-595-3447 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Tue, 25 Apr 2000, Jack Malone wrote:
I'm wanting to see who has been logged on my suse box an was wondering by default if there is a log logging this info of would I need to setup something up. I have given a couple friends access from the internet to run/test some shell scripts an such.
Try the "last" command! "last -10" will show the last 10 logins on your box, "man last" will give you more info. Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer 90443 Nuernberg, Germany -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
All Unix systems log every user who logs in, when that user logs in and when that user logs out. There are 2 files that are used for this:/var/log/utmp and /var/log/wtmp. On Unix systems, these files are normally found in /var/adm. The utmp file is created by /sbin/init when you boot your system into multi-user mode. Utmp reflects the current state of the system (eg. it is used by who). The wtmp file is cumulative. It records logins and logouts, and is used by quite a few utilities. There are several commands and scripts. Check the acct(8) man page and related documents. If you want to roll your own, the interface is documented in /usr/include/utmp.h. On 25 Apr 2000, at 14:26, Jack Malone wrote:
I'm wanting to see who has been logged on my suse box an was wondering by default if there is a log logging this info of would I need to setup something up. I have given a couple friends access from the internet to run/test some shell scripts an such.
jack Jack Malone East Texas Lighthouse for the Blind dba Horizon Industries jack@malone.tyler.com 903-595-3444 fax 903-595-3447
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Jerry Feldman Contractor, eInfrastructure Partner Engineering 508-467-4315 http://www.testdrive.compaq.com/linux/ Compaq Computer Corp. 200 Forest Street MRO1-3/F1 Marlboro, Ma. 01752 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
Gerry.Feldman@compaq.com
-
grimmer@suse.de
-
jack@malone.tyler.com