On Mon, 20 Nov 2000, Neeraj Manral wrote:
> Hello !
> All queries are general linux RH 6.2 box
> I would like to know as to how can one find as to how many people have a
> login a/c in a particular box.
> I have inherited a box which was used by lot many people before so i want to
> remove a/c of all the earlier user.as my pc would be becoming the gateway to
> many of them to enter the network.

cat /etc/passwd & then use 'userdel' for each user ?

> I would also like to know is there any log that is being generated in linux
> or one can make it so as to know  as to who has logged in at what time of
> the day??

'last' command lists out what you want. The info. is stored in
/var/log/last. (I'm using slackware. I guess RH also uses the same
location)

Sreeji



----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to