Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 949
  • Last Modified:

/usr/ucb/ps -auxx

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
brak51
Asked:
brak51
1 Solution
 
svgmucCommented:
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
 
RowleyCommented:
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now