Solved

/usr/ucb/ps -auxx

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now