Solved

/usr/ucb/ps -auxx

Posted on 2010-09-10
2
916 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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 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.:

691 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