- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reboot and Shutdown options to users
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
06-11-2002 11:09 AM
06-11-2002 11:09 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:13 AM
06-11-2002 11:13 AM
Re: Reboot and Shutdown options to users
edit the file and use the format
hostname username
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:14 AM
06-11-2002 11:14 AM
Re: Reboot and Shutdown options to users
Create /etc/shutdown.allow and add the user name to it.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:14 AM
06-11-2002 11:14 AM
Re: Reboot and Shutdown options to users
Use /etc/shutdown.allow
Works a little like /etc/hosts.allow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:15 AM
06-11-2002 11:15 AM
Re: Reboot and Shutdown options to users
Quite trusting in your users, eh?
follow the shutdown.allow advice, but not something I would do.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:18 AM
06-11-2002 11:18 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:21 AM
06-11-2002 11:21 AM
Re: Reboot and Shutdown options to users
what's a reboot?
# uptime
3:19pm up 227 days, ....
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:21 AM
06-11-2002 11:21 AM
Re: Reboot and Shutdown options to users
what's a reboot?
# uptime
3:19pm up 227 days, ....
That's how long my vPars has been running!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:38 AM
06-11-2002 11:38 AM
Re: Reboot and Shutdown options to users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:42 AM
06-11-2002 11:42 AM
Re: Reboot and Shutdown options to users
Do this:
Set up a "special" account that has the priv's of shutting down the system, via shutdown.allow.
Put the password to that account in a SEALED envelope, and staple it to a wall - that way if they use it, they will have to rip it open and off the wall.
Of course repeat by changing the password.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:45 AM
06-11-2002 11:45 AM
Re: Reboot and Shutdown options to users
probe at that time so that the problem does not occur.
I might relent a little bit if the power is going to be off for an extended period but again well-designed UPS scripts should handle this as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:45 AM
06-11-2002 11:45 AM
Re: Reboot and Shutdown options to users
The main point made by Clay and Harry is a very good one. You don't necessarily need to reboot except for in cases of patrches an/or hardware issues/upgrades. It can be done where other users can use the shutdown command, but I would carefully choose your "rebooter" so you know that this won't be done too often and by just anyone, if you decide to take that route.
To Harry and Clay,
I wish I could keep my servers running as long as yours... I am forced to do a reboot almost monthly because the government "knows whats best for these servers"
Good luck
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 11:55 AM
06-11-2002 11:55 AM
Re: Reboot and Shutdown options to users
I have a server thats been up for 761 days, and counting.
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 03:28 AM
06-12-2002 03:28 AM
Re: Reboot and Shutdown options to users
For another viewpoint, consider this:
At this point, it's probably mostly a habit retained from the old days when our Informix database server leaked memory like a sieve, but we allow (actually require) our operations staff to re-boot the server first thing Monday morning. I set up a script, owned by the Informix user (so they have to know the closely guarded Informix password), and put the Informix user in /etc/shutdown.allow. You might ask why I don't just use cron to accomplish this myself. The reason is that we have a quarterly process that runs for days on end and we don't want to re-boot while that's going on. Being a basically lazy advocate of the Keep It Simple, Stupid methodolgy, I let the people who know when that process is running determine whether it's safe to re-boot or not.
I agree with Harry and Clay that this isn't for everyone and I *will* someday get around to finding out if it's even necessary anymore, but in the meantime, we've been operating this way, without problem, for 8 years. You really have to trust (and train) your operations staff.
For what it's worth,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 03:34 AM
06-12-2002 03:34 AM
Re: Reboot and Shutdown options to users
One last thing:
I didn't mean to scare you off from assigning points (from your other post). You can and should assign points.
Good luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 05:58 AM
06-12-2002 05:58 AM
Re: Reboot and Shutdown options to users
Pete: I'm not afraid to give points based on yesterday's discussion, but what is an acceptable amount of points to give to someone for providing an answer to a question that you haven't been able to try and implement yet? I surely don't want to insult anybody or keep them from wanting to help in the future.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 06:04 AM
06-12-2002 06:04 AM
Re: Reboot and Shutdown options to users
Waiting is fine, I just thought I might have said something that made you think you shouldn't assign points.
When you're ready, just follow the guidelines on the "assign points" page.
And - enjoy your dictatorship!
;^)
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 06:14 AM
06-12-2002 06:14 AM
Re: Reboot and Shutdown options to users
Even for workstations, I would not give the users the ability to reboot. They can always call you and you can do it remotely. Don't overlook they always have the expedient of simply unplugging the power, if you or your staff can't be found. When users perceive the need to reboot, something is wrong - and it needs to be fixed. I have also kept workstations doing very heavy-duty CAD work up for months on end.
I would never (and have never) tolerated sloppy software. When databases leak memory, the answer is to call the vendor and explain the problem and get it fixed. I think I even remember the memory leak that Pete refers to. Every time a SQL PREPARE was done, new memory was allocated. For the interim period before Informix provided the fix (about 3 months as I recall), I made a change to a library to cache PREPARE'd statements and to look in the cache for them before doing a new PREPARE. It wasn't a perfect fix but it probably eliminated 98% of the leaks and worked until the real fix was done. I could have simply punted and allowed weekly reboots but which is the better answer. Don't reboot, fix the problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 09:43 AM
06-12-2002 09:43 AM