"ps -u/ps -U" problem

2007-12-24 21:39:00

In addition to information below, I would like to add here is I have tried
recreating users from admintool as well as manually, starting with
alphabetic letter works fine, here just i am concerned if I am getting error
for 08sdu, 06sdu, 07sdu, i am suppose to get for every user starting with
number. Which is not the case, for some users 01sdu-05sdu command works
fine, for 09sdu it works alrite.
If somebody can focus on 06sdu-07sdu, even I am also trying from my side, if
I acheive something I will propagate the same in all, please reply if
somebody gets the answer
Regards
Prashant

I am facing a problem which is quite irratic,
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

prash134 at hotmail.com

I will appreaciate earliest as well as all replies...I need to have it
working

Thanks and regards
Prashant Zanwar

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx

Comments

Got something to say?

You must be logged in to post a comment.