From: Juergen Schroeder <schroedj@data.ub.uni-marburg.de>
Subject: Re: logout users over night?
Date: 1998/02/18 [thread overview]
Message-ID: <6ce9r2$log$1@surz03.HRZ.Uni-Marburg.DE> (raw)
In-Reply-To: 6ccepb$igd@herald.rt.bosch.de
Mario Zimmermann <mzi2sn@sn0967.sn.bosch.de> wrote:
: Hello
: we have a server which shares the disks over nfs to clients.
: We use NIS for the user-management.
: What can we do, if we want to logout our users after midnight/over the
: weekend?
: Is there a simple way to check for the users logged in, and kick them
: out. I know rwho, but isn't there an other way?
: Do i have to kick out the users directly on the clients, or is there
: a way to send a signal from the server to the clients?
: To log them out, do i have to scan for all process of a user,
: or is there a way like : lougout user_a.
: Any ideas are very appreciated.
^^^^^
There is a very simple way. Put a "shutdown -r" in the crontab, this will
log out all users and stop all their processes.
Its the unix way...
No scripts neccessary.
Juergen
next prev parent reply other threads:[~1998-02-18 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-17 5:00 logout users over night? Mario Zimmermann
1998-02-18 5:00 ` Dr. Strangelove
1998-02-18 5:00 ` Juergen Schroeder [this message]
1998-02-18 5:00 ` Scott J. Tringali
1998-02-18 5:00 ` Mark Greene
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox