  | | | idle users on 7.3/solaris | idle users on 7.3/solaris 2003-06-30 - By Antonio Galea
Back 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) -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
|
|
 |