On Mon, 2004-05-17 at 09:27, Prabu Subroto wrote:
Dear my friends...
Please teach me which command line in the console which I can use to display which users are being logged in. They login through NIS.
w
And please tell me which command line that I can use to kick the user out (forcing logout). If they login through NIS.
kill -1 <pid of user session>
If I login into a machine as a root with ssh (ssh -l root 192.168.23.1), can I force with command line the users which login locally to be log out?
Only local logins or all logins? Normally root cannot ssh to a box for security reasons. You would need to ssh with a regular user and then su or sux or su - to root. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)