"ps -u/ps -U" problem
2007-12-24 21:39:00
I got some user created on my Sun system, id wise
01sdu, 02sdu, 03sdu, 04sdu, 05sdu, ..... 09sdu.
I have checked for password file entries and shadow file entries, which is
ok. These look like following.
#grep sdu /etc/shadow
01sdu:x:7213:20:South district User,
Brentwood:/home/districtuser:/usr/bin/ksh
02sdu:x:7214:.............
03sdu:x:7215:..............
.
.
.
.
.
09sdu:x:7221:...................
#grep sdu /etc/shadow
01sdu::11708::::::
02sdu::11708::::::
03sdu::11708::::::
04sdu::11708::::::
05sdu::11708::::::
06sdu::11708::::::
07sdu::11708::::::
08sdu::11708::::::
09sdu::11708::::::
When I run "ps -u/ps -U" command for each above mentioned user I am getting
desired result for all the users except "06sdu, 07sdu, 08sdu"
Here it says
ps:unknown user 06sdu or the same for 07sdu and 08sdu which is quite
dramatic and funny as I get proper response for all other mentioned users.
Can somedoy please look into this, as this I have checked on test as well as
production machine, I want to write a script for all these users where i
want to use "ps -u/ps -U" just to check users running processes, Its very
urgent and too much important as it is a production environment and customer
facing a great loss.
Please reply me on
I will appreaciate earliest as well as all replies...I need to have it
working
Thanks and regards
Prashant Zanwar
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
Comments
Got something to say?
You must be logged in to post a comment.

