> Not sure if this is something specific to my Solaris 10 environment !!
> When I run "/usr/ucb/ps auxwww" command as root, I get full cmdline
> with args. Whereas, when I run it as non-root, the output gets
> truncated just as the ps -ef cmd does.
> Is this something new to Solaris 10 ? Previous releases were not doing
> the same !!!
Yes, this is new. It's not so much root/non root as privleged/non
privleged on the process (the process owner should be able to see it).
To get the full args, you have to read through the process itself.
Apparantly this is enough of a scare that you can't do it by default.
I think that you can set /usr/ucb/ps to be setuid root and get the old
output, but I can't evaluate how much risk that entails. You might also
be able to add more fine-grained privileges (such as being able to read
the process structure) to your scripts.
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >