- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- who should have root access
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 06:44 AM
11-01-2005 06:44 AM
who should have root access
1) only two people know the password ...myself and a guy i have trained at night (this is a 24x7 fab)
2) if we are not physically present then call us to do the work seemingly needed if urgent else send us an email/voice-mail
3) if we are not responding to an urgent need then a list of 10 people or so can have access to all the root passwords stored in envelopes with our security group by following a simple procedure to get the envelope/s (i update the envelopes/passwords later due to them being accessed)
is this a OK? my concern is that people want root access to satisfy their convenience at the expense of mine. i feel that problems are reduced when less people have access to root ...regardless of their skills/needs
keep in mind that my systems are very stable and more often then not when people have asked to have root access it was for tasks that did not need to be done as root
i have a meeting tomorrow and would absolutely appreciate any guidelines/support/criticism/etc...
FYI: i do have sudo setup and tweaked as needed for some users/commands but i actually do not like this, nor do i like setuid scripts which i am also using to satisfy some users ...in the end i am trying my best to find a balance between users and me since the servers are not for me or for the users as much as they are for some task/application/job...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 06:53 AM
11-01-2005 06:53 AM
Re: who should have root access
Operations doesn't need it, you can use sudo to give them any functionality they need.
Good plan.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 06:54 AM
11-01-2005 06:54 AM
Re: who should have root access
It sounds like a reasonable plan to me. We do something similar -- four people have root and we are suppossed to log into our own root account and "su -" to root so that there is at least some trail to what is going on.
What are the specific reasons that he wants root? Are they things you could accomplish with "sudo" (despite your not liking it)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 06:55 AM
11-01-2005 06:55 AM
Re: who should have root access
You have summarized the usual request well: "...people want root access to satisfy their convenience [your] expense".
I think you have provided very adequate access given that you respond to requests; have a backup support person; and in an emergency have provided a route to access.
In my opinion, those who would have to clean up a mess tend to take better care not to make a mess in the first place. Stand firm.
Regards!
..JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:04 AM
11-01-2005 07:04 AM
Re: who should have root access
There are rare occasions when someone other than an admin needs root for certain commands.
And sudo could be setup for those commands. However be careful because there are some commands that can be exploited.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:12 AM
11-01-2005 07:12 AM
Re: who should have root access
Ultimately, you are responsible for whatever happens so you should be in control. If this were me rather than your "10 or so" approach, I would prefer to add another trusted admin to your present group of two and make sure that at least one of you is available (or on call) at all times.
The thought of setuid scripts scares me to death; those are security bombs waiting to explode. Sudo is the far better approach but sudo'ed tasks should be tightly controlled and extremely limited in scope.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:18 AM
11-01-2005 07:18 AM
Re: who should have root access
If you give the password to users, do you know if other users get it too?
You are loosing control! Remember, root can do everything and all you know is, this was root. I would stay with the current procedure.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:18 AM
11-01-2005 07:18 AM
Re: who should have root access
Setup the admins in the wheel group. Only members of the wheel group have access to the root account. Even if the passwd is known throughout only wheel group members can become root. (Do a 'man security' to see this option and others)
Configure the /etc/securetty to allow root login only on console.
Lots of access policies to review
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:56 AM
11-01-2005 07:56 AM
Re: who should have root access
If the systems are stable, there should be no need for users to access the system as root. I have managed some systems for years with out this type of request. On the other hand I had a couple of systems where the users went up the ladder far enough to get the authorization - until one of them inadvertently wiped out an oracle database.........
When a user logs in as root, you have no audit trail, and no way to show what he did - not a good idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 08:04 AM
11-01-2005 08:04 AM
Re: who should have root access
Of all things the auditors may try to tell you that is wrong with your systems, the one item that they are correct in is the access to the root account.
If you have users that need to run/access their stuff, check the permissions and ownerships. This can be (and is) the 1st line of defense for securing your systems. Access to root is not required to view a user's files if the perms are set correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 09:40 AM
11-01-2005 09:40 AM
Re: who should have root access
thx for all your comments (more are welcome)! they are very helpful and it seems that what i am doing overall is not uncommon and very good practice.
below is what i plan to modify, if my manager allows me to keep the control to continue what i have setup for the past ~5 years
1) as clay stated, define better time limits ...how long to wait on me responding to a call/page/email
2) as kent & rick stated, possibly make people access root from other accounts to help track future use
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 10:37 AM
11-01-2005 10:37 AM
Re: who should have root access
Since I moved to the 3rd line team, I've been cutting back on access piece by piece. Needless to say, there have been complaints/concerns raised by people about this loss of access, but this has mostly been people worrying that they'll no longer be able to perform their jobs correctly. A few weeks ago, I finally got it to the stage where only my team (who really need this access) know the passwords. I've been fortunate to have management backing me up on this all the way too.
As others have said - mistakes happen (we all make them, no matter how small). The fewer people that have the capability to wreak havoc on the systems with a mis-typed command, the better.
Clearly, you're in a fortunate position having only 2 of you really knowing the password to start with - people can't miss what they never had.
Sudo, and similar products are an absolute must in most modern environments - apart from anything else, you have the capability to easily audit whatever commands are being executed.
Another consideration that is now affecting many of us is Sarbanes-Oxley, and often internal/external security audits. The controls that are now being insisted on are becoming ever more strict, so it's worth finding out what impact this is likely to have on your company if you don't already.
All in all, it sounds to me like you have a good foundation to work from - don't give it up!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 11:00 AM
11-01-2005 11:00 AM
Re: who should have root access
Use sudo to grant individual commands that others need to do on a repetitive basis - as long as they aren't destructive commands.
Like, you may want power users to be able to kill others print jobs...
Things like that.
DON'T setuid!
There should not be a reason to use root in order to keep applications up and running.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 01:20 AM
11-02-2005 01:20 AM
Re: who should have root access
My manager defines security policy, my responsibility beyond the Unix system is to backup our Microsoft geeks, and in turn they back me up, so all told we have 8 people with root capability.
I agree with Clay, as root job processing will take precedent. It is agreed practice that I will script and menu those items that may require root / wheel group level intervention..
I've been with my company for 5 yrs, and have set my UX systems up within standard specs for L&nux, HP/UX, SunOS, and my manager preceded me in my position so.
It is important to consider that when you have a system that there are some basic protocols for recovery and business continuity in the event you aren't there. This is another part of the scenario to consider. We worked hard at defining a business continuity plan. If god forbid the sys admin dies in a car crash, or is wiped out by a tornado, the business will need to keep plugging. Document the processes well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 01:29 AM
11-02-2005 01:29 AM
Re: who should have root access
I read an article at one point in which the author said that no one in his shop knew the root password. ALL sys admins did what they needed to do via sudo, which is entirely plausible. Sudo does allow you a bit more logging and tracking of who is doing what.
The author of the article ran a script that would change the root password once a day to some random string of characters and numbers. If they absolutely had to log in as root, they would suspend the cron job, change the root password and do what they needed to do.
Granted this case is extreme, but it is another option.
http://www.samag.com/documents/s=9494/sam0502h/0502h.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 01:46 AM
11-02-2005 01:46 AM
Re: who should have root access
Consultant: "what's the root password ?"
Me: "huh ?"
C: "password for root, you know the superuser"
Me: "And your point is ??"
C: "I need to install/upgrade such and such and I need it"
Me: "No you don't!"
C: "Yes I do, here is the document which says I need root access"
Me: "That is a document that you have written for your convenience not necessarily a reflection of facts. Call me when you need root access. Here's my extension number. Bye..."
then 5 days into the process phone rings:
C: "uuhhh, can you run the program (he is referrign to a script which sets a sticky bit on 3 executables) /usr/local/bin/root.sh ?
Me: "sure. (3 seconds later) done..."
C: "Thanks"
And more often than not, I never hear back from him.
Yes, if I had given him the root or equivalent access, it would have made his life much easier but at the same time, would have made mine much harder because he made a stupid typo somewhere, rendering my system useless. How many times someone unknowing with root privilege run a chmod -R on one of your vital filesystems and bring the system down to its knees ?
So, word of caution: do not give the actual root password to anyone, even yourself (if you do not use it long enough you will also forget, believe me, especially if it is something cryptic as it should be) and dispense the sudo or similar functionality provided elevated privilege access with caution and with as fine granularity as you possibly can deal with.
There's always a hotshot and they always find you to make your life miserable otherwise.
UNIX because I majored in cryptology...