Results 1 to 4 of 4
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
09-06-2007 #1
- Join Date
- Aug 2007
- Posts
- 8
Checking if the user exists in several systems
In my network I have several (approximately 100) systems. I want to check if one user (for example johnson) exists in all the 100 systems. I cant login to each system and check it manually.
Is there any automated process which can simplify this task? Or is there any shell script I can run?
Please suggest me a solution for this.
Thanks,
~Johnson
-
09-06-2007 #2
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 480
could you modify johnson's login details so that, whenever johnson
logs in, an email is sent to you?the sun is new every day (heraclitus)
-
09-10-2007 #3
- Join Date
- Aug 2007
- Posts
- 8
I can't login to each system and modify the profile. If I can login to each system and modify the profile, I wouldn't have raised my question here.
I want to simplify the task of manually logging into each system and checking for the existence of one user, by writing any shell script.
Hope, you understand the problem now.
Thanks,
~Johnson
-
09-10-2007 #4
Hi,
check out man wtmp
man utmp.
or who command.
and also this link,
http://www.unix.org.ua/orelly/networ...is/ch10_01.htm
I hope it helpsFirst they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org