Re: idle users on 7.3/solaris
Antonio Galea <[email protected]> Mon, 30 Jun 2003 15:09:56 +0200 (CEST)
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <Pine.LNX.4.44.0306301502210.24539-100000@beastieboy.uff.netwise.it> |
On Mon, 30 Jun 2003, upendra wrote: > hiya > i got 2 servers one 7.3 and other sun 5.8 > > now I really want to remove the users which r not > using /loging to system. > I got around 500 users on it > how can i do this stuff? > You might try to get the information from last: #last|cut -f1 -d\ |sort|uniq|egrep -v "reboot|wtmp" should give you the users that logged in recently... you are likely to miss someone, in any event. > also does anybody know how to start telnet server on > sun os , iam not able to restart even after removing # > sign in inetd.conf > After uncommenting the file, you should restart inetd; try man inetd for details on SunOS, although it's likely you just have to 'kill -HUP' the correct PID. Cheers, Ant9000 -- _____________________________________________________________________________ Dr. Antonio Galea N e t W i s e http://www.netwise.it Sviluppo tecnico Tecnologie per il Web Tel 0461.421016 Fax 0461.426021 ----------------------------------------------------------------------------- "Software is like sex; it's better when it's free" (Linus Torvalds) ----------------------------------------------------------------------------- --