On Monday 21 August 2006 20:07, Leendert Meyer wrote:
On Tuesday 08 August 2006 20:27, James D. Parra wrote:
Hello,
Short of rebooting, how to close an open session of a user who is logged in?
Would that be you, logged in more that once (perhaps using one or more different logins), or would that be another person? ... If it's another person, perhaps "man shutdown" could be of use: it allows you to send a warning to all users who are logged in over a text console, together with specifying a delay (e.g. "Warning: the system will shut down in 5 minutes. Save your work and logout immediately."). I suppose you could come up with nicer messages... ;)
Try, from a console, as root: init S That will drop the system into single user mode, kicking out anyone logged in. From there you can log back in and run: init 3 or: init 5 depending on whether you want console mode (3) or X11 mode (5). -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts