Creating a "semi" root user? Is it possible?


 
Thread Tools Search this Thread
Operating Systems HP-UX Creating a "semi" root user? Is it possible?
# 1  
Old 02-25-2008
Creating a "semi" root user? Is it possible?

Hello All,

I work as a system admin at a company of about 600 users on a HP-UX server. We have an IT department of about 15. My problem is that we give out the root password to the majority of them, they are phone support techs, as they need to get in to kill processes and setup users and printers on a daily basis.

Recently someone changed the root password and disabled the account and we couldn't find out who. After about 3 hours we found out our VAR was prompted to change it when they logged in but they were a little slow in letting us know.

This still ticked me off enough to want to lock down root as much as possible and to take away the privilege from as many people as I can starting with our tech support guys.

So, I was wondering if it's possible to create a new user (or possibly add to their current user account) that would have ONLY the following abilities:

- Kill user processes
- Setup new users
- possibly start a few random scripts

Any help would be greatly appreciated.

Mike
# 2  
Old 02-25-2008
Well thats exactly the purpose of sudo...
Of course you could also give restricted SAM for user/printer administration and configure sudo for the rest...
# 3  
Old 02-25-2008
OK, I've never used sudo before. I'll look into that.

About restricted SAM, where is the configuration for that?
# 4  
Old 02-25-2008
For sudo, go to your favorite HP-Porting-Archive-center and download the latest.
As for restricted sam, its you, as root, by typing sam -r call the routine: you choos the user account first, then choose the privilidges you grant that user... Dont forget to save when leaving, to be sure, test after ( start by yourself! It can be handy)
# 5  
Old 02-26-2008
HP offers RBAC with HP-UX

You can check out more here: Hewlett-Packard Co.

Role based access control is supported by HP and is pretty slick. I use sudo on linux and osx, but found RBAC to be a much better product. The latest version includes a wrapper shell (privsh) that allows users to run authorized commands like they would logged in as root. RBAC uses audit logs and is very configurable. Definitely worth a look. Not sure if it is supported on 11.11 and older versions...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to run root level command , if user has "su -" permission in sudoers provided?

I am looking t run root level command on multiple servers, but all servers have only "su - " permission available in sudoers. please help me if any way that I can run command using help of "su -" My script for hosts in `cat hosts.txt`; do echo "###########################Server Name-... (5 Replies)
Discussion started by: yash_message
5 Replies

2. Shell Programming and Scripting

Root running a script calling to scp using user "xyz" is not authenticating!

Close duplicate thread. (0 Replies)
Discussion started by: denissi
0 Replies

3. AIX

Change "root" to "root.admin" in outgoing e-mails

Our AIX servers send e-mails which have the "from" address set to "root@company.com" for our root user ("C{M}company.com" in /etc/sendmail.cf). The problem is that when bad e-mails are sent out or rejected by remote servers, they are being returned and delivered to e-mail box of "Mary Root". ... (2 Replies)
Discussion started by: kah00na
2 Replies

4. Shell Programming and Scripting

Creating a Shortcut (to just type "l" but it runs "ls -lah")

How do I create shortcuts? For example: I just want to type one key "l" and have it output the command of "ls -lah" I believe it's creating a file called l with 755 permissions but I'm not sure where to put the file. *if it matters, I'm on a shared hosting web server using cPanel with... (2 Replies)
Discussion started by: ijustsawmars
2 Replies

5. Solaris

"! bad user (root)" in cron log

I am getting the following error in the cron log: ! bad user (root) Wed Sep 22 14:30:00 2010 < root 8989 c Wed Sep 22 14:30:00 2010 rc=1 What does this mean? (5 Replies)
Discussion started by: jastanle84
5 Replies

6. UNIX for Advanced & Expert Users

How to allow particular user only to login as a root using "ssh" ?

Q1 I want to allow particular user only to login into root using ssh. I have set PermitRootLogin no for security purpose but I want to allow some of the users to login as a root using ssh how to do this? I have tried with Allowusers user1 user2 its working for only the user1 and... (3 Replies)
Discussion started by: ungalnanban
3 Replies

7. Red Hat

error"warning: user owen does not exist - using root"?

I am trying to install openmotif22-2.2.3-18.src.rpm, after I typed in " rpm -i openmotif22-2.2.3-18.src.rpm" the following message comes out: warning: user owen does not exist - using root warning: group owen does not exist - using root I am install openmotif under root account. Do... (2 Replies)
Discussion started by: fishwater00
2 Replies

8. UNIX for Dummies Questions & Answers

Possible to give non root user sudo to "crontab -l"

Does anyone know if this is possible? I want to give some users access to root's crontab but only with a read privilege. Is this possible to do or can only root or people with full root sudo view root's cron? (4 Replies)
Discussion started by: LordJezoX
4 Replies

9. Solaris

sendmail "root... User address required." error

I'm running sendmail (8.13.8+Sun/8.13.8/Submit) solaris 10. When I send mail to root at the command line (whether I use a full-qualified address or just root), I get the error message root... User address required. Sending mail to root (either at the command line or in a cron job),... (10 Replies)
Discussion started by: csgonan
10 Replies
Login or Register to Ask a Question