Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Create users with Limited Rights in HP-UX 11.11

telco_1
Advisor

How to Create users with Limited Rights in HP-UX 11.11

Hi i just want to create some user accounts with limited rights which can only perfrom few operational Tasks to fullfill there daily job.

They must not reboot or change any configuraion like root user.

I have tried in SAM application but unable to define the Privelages to the users.Can anybody help me in this regard
4 REPLIES
RAC_1
Honored Contributor

Re: How to Create users with Limited Rights in HP-UX 11.11

In there .profile, put a script that would point them to certain thing. You can also look at giving them rsh. (restricted shell)
man rsh for details.
There is no substitute to HARDWORK

Re: How to Create users with Limited Rights in HP-UX 11.11

hi,

you can assign restricted shell to user by using this command

useradd -s /usr/bin/rsh username

otherwise you can use sam -> account for users and groups -> users -> action -> add ->
change the startup program to /usr/bin/rsh
->ok

Steven E. Protter
Exalted Contributor

Re: How to Create users with Limited Rights in HP-UX 11.11

Shalom,

It depends on specifically what you wish to allow or disallow.

the rsh, restricted shell limits them a lot, but if they need to do something rsh does not permit it won't work

In general, I create a limited power user group add users to this group and give that group very limited access with permissions and that allows me to do it with a very fine grain as to the do's and don'ts.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Yang Qin_1
Honored Contributor

Re: How to Create users with Limited Rights in HP-UX 11.11

Agree with SEP. One more thing you can also try is that use "sudo" to grant users or user group the permission to run certain applications.

Yang