Solved

/usr/ucb/ps -auxx

Posted on 2010-09-10
2
901 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AIX Server 10 85
how to check for shares on aix 1 79
remove a combination of patterns from a file 15 65
help pulling data string using Awk 9 68
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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

786 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