This is a discussion on restrict a user to certain command within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; Hi all, I am using Sun OS 5.10. I am new to Unix. Is there some way to restrict a ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hi all,
I am using Sun OS 5.10. I am new to Unix. Is there some way to restrict a specific user to certain command say "/usr/bin/more" ?? for example: I want that user1 can execute more command & user2 can't. Can we somehow edit .profile file in the home directory of user to achieve this ?? OR is there some other way ?? Pls help. Thanks N Regards, VIKAS |
| Sponsored Links | ||
|
|
|
||||
|
I don't think so it is possible; by default user are allowed to run program stored at /bin and /usr/bin; only root can run (almost) /sbin /usr/sbin
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| restrict access of a user to two directories only | vikas027 | CentOS / RHEL / Fedora | 0 | 04-15-2008 05:35 PM |
| UNIX command to find out whether particular process of a particular user is running | Santosh Sharma | Shell scripting | 1 | 01-17-2008 03:26 PM |
| Create new user account in Ubuntu Linux from command line | sweta | Getting started tutorials | 0 | 06-21-2007 01:49 AM |
| How to restrict devices usage for users in Solaris? | kitty@sad | Solaris/OpenSolaris | 3 | 05-21-2007 02:05 PM |
| how to restrict lan users so that they cannot send | bhagi123 | Linux software | 2 | 11-21-2006 11:38 AM |