Exercise 26: Karen s Computers


Exercise 26: Karen's Computers

You can make a list of each user who has ever logged on to the server by following these steps:

1.

Log in as root.

2.

From the KDE kicker, click on the icon of a monitor to open a terminal shell. Optionally, from the menu, select System, Terminal, and then Konsole.

3.

Type lastlog | grep vi "never" to reduce the display to only lines of valid logins.

This will show the most recent login for each account, but not every login. Make a list of the usernames, and then use each with the last command to find out each login since the last time the wtmp file started. For example, to see the entries for the user edulaney, the command would be last edulaney.



NovellR Linux Certification Practium Lab Manual
NovellR Linux Certification Practium Lab Manual
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 192

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net