- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create user with option can shutdown HP-UX only
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
Discussions
Discussions
Forums
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
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
тАО04-03-2009 04:07 AM
тАО04-03-2009 04:07 AM
Create user with option can shutdown HP-UX only
- Tags:
- shutdown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 04:26 AM
тАО04-03-2009 04:26 AM
Re: Create user with option can shutdown HP-UX only
it is good for you. put user you want him/her to allow to do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 04:31 AM
тАО04-03-2009 04:31 AM
Re: Create user with option can shutdown HP-UX only
yes insert '+
You have to add root too, then ('+ root')
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 04:45 AM
тАО04-03-2009 04:45 AM
Re: Create user with option can shutdown HP-UX only
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 05:00 AM
тАО04-03-2009 05:00 AM
Re: Create user with option can shutdown HP-UX only
well, for my ws with 11.11, that's my experience.
As soon as you add one non-root user to /etc/shutdown.allow you're no longer allowed to shutdown as root.
So just add a second line.
This is my /etc/shutdown.allow:
+ stop
+ root
Just two lines ...
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 05:09 AM
тАО04-03-2009 05:09 AM
Re: Create user with option can shutdown HP-UX only
Thanks for your advise.
Refer to your advise :
This is my /etc/shutdown.allow:
+ stop
+ root
what it mean + stop? this stop is username? I refer to your replied before, insert '+
Mardi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 05:11 AM
тАО04-03-2009 05:11 AM
Re: Create user with option can shutdown HP-UX only
Sorry, was not clear enough from my side.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 05:16 AM
тАО04-03-2009 05:16 AM
Re: Create user with option can shutdown HP-UX only
Why i wan my staff to be able to shutdown as I most of time have to go outstation and want them to be able shutdown the machine but at the same time restrict them to perform job as administrator.
I will inform you when I try on next Monday(April, 6th 2009).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 05:36 AM
тАО04-03-2009 05:36 AM
Re: Create user with option can shutdown HP-UX only
But I don't tell them the command, they just have to login as user 'stop'.
In his profile is the shutdown-command, so the ws is shutting down immediatelly.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2009 08:21 PM
тАО04-05-2009 08:21 PM
Re: Create user with option can shutdown HP-UX only
I already edited my shutdown.allow and add 2 line like below:
+ rose
+ root
and saved it. When i login using username rose and try to shutdown using this command:
shutdown -ry 0
this appear:
sh: shutdown: not found.
Can advise me.
Mardi