Operating System - Tru64 Unix
1822933 Members
3889 Online
109645 Solutions
New Discussion юеВ

top for non-root users

 
Ashish Jain
Advisor

top for non-root users

How do I run top command as a non-root user on a tru64 ( 5.1b ) system ?

Ashish
3 REPLIES 3
Venkatesh BL
Honored Contributor

Re: top for non-root users

Are you getting an error message while trying to do so?.

Give the output of "ls -l top" and "id "
Victor Semaska_3
Esteemed Contributor

Re: top for non-root users

1) Make sure root is the owner.

2) chmod 4755 - Sets user ID on execution.

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
Ross Minkov
Esteemed Contributor

Re: top for non-root users

Ashish,

As Vic indicated all you need is suid bit set on the top executable and make sure it's owned by root.

Regards,
Ross