Is user active or not ?
"Renaud (Ron) Olgiati" <renaud-9qJ39Kf4vhh95CE/QLhGvQK61p16E/[email protected]> Thu, 22 Sep 2011 11:02:14 -0400
| Newsgroups | gmane.linux.mandrake.expert |
|---|---|
| Message-ID | <[email protected]> |
I find myself in need of an easy way to check whether the account of a remote
user on the lan is active or not.
Is there an easier way than to ssh, then grep $USER /etc/shaddow | grep !
And is there a way to automate the ssh connection in a script ?
TIA,
Ron.
--
Pain is life,
and death is when the pain goes away.
-- Keith Roberts
-- http://www.olgiati-in-paraguay.org --