On Tue, 4 Apr 2000, Edwin Casimero wrote:
you can issue a
ps ax|grep login
and then use a script to extract the pids of the login program and then
kill them
> I need your expert help guys and gals!
>
> I'm running multiple dosemu sessions and some users
> have a habit of leaving their session open overnight
> which causes me some frustration for automating some
> database updates in the evening. (due to old single
> user dbf programs, I know... I've not switched to SQL
> yet).
>
> I need to be able to kill all logins during the early
> mornings. What command should I use?
> (I know how to use crontab)
>
> kill -all_logins?
>
> help...
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> -
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
---------------------------------
Jeffrey W. Wong
Instructor and
Networking Research Laboratory Supervisor
CCS-CT, De La Salle University
E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
Tel. No.: 524-0402(voice), 536-0278(fax), 0917-408-1911(mobile)
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]