Solved

/usr/ucb/ps -auxx

Posted on 2010-09-10
2
904 Views
Last Modified: 2013-12-28
My customer is runing Solaris 10 6/06 s10s_u2wos_09a SPARC. When he types the command /usr/ucb/ps -auxx or -auww he gets the error "cannot execute".  Root is able to run these commands. Users are all using ksh and no user can run either of these commands. If we change one of the users shell to csh, they are still unable to run these commands? I have checked for a permissions error,  and that's not an issue. I have had the customer grep /usr/ucb/ps  /var/sadm/install/contents and run a pkgchk on the packages that he gets back from the /usr/ucb/ps  /var/sadm/install/contents, comes back clean??? They have not changed roots shell, they are not using rbac? Any ideas and or feedback would be appreciated

Brak
0
Comment
Question by:brak51
2 Comments
 
LVL 14

Accepted Solution

by:
svgmuc earned 500 total points
ID: 33648817
It is not a shell issue. It's a matter of user privileges. Root has the privileges to use ps with the named arguments. Everyone else cannot do that, unless they elevate their privileges to root.
0
 
LVL 13

Expert Comment

by:Rowley
ID: 33649665
get the user to run the command using ppriv, e.g.:
ppriv -eD /usr/ucb/ps -auxww
A good article explaining how to use ppriv to debug privileges can be found on bigadmin.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Skill Development 15 183
NTP Server in VMware 5 291
SCP a file to multiple machines using a script 4 69
Expiration and Locking of Unix/Solaris OS Accounts 7 50
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question