How to Create users with Limited Rights in HP-UX 11.11 (27 Views)
Reply
Advisor
telco_1
Posts: 41
Registered: ‎09-12-2006
Message 1 of 5 (27 Views)

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
Honored Contributor
RAC_1
Posts: 5,920
Registered: ‎03-21-2002
Message 2 of 5 (27 Views)

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
Advisor
Shashi Bhargava
Posts: 24
Registered: ‎11-03-2005
Message 3 of 5 (27 Views)

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

Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 4 of 5 (27 Views)

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
Honored Contributor
Yang Qin_1
Posts: 514
Registered: ‎10-23-2002
Message 5 of 5 (27 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.