- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to enable the user shutdown the hpux 11.00...
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
тАО06-24-2009 11:43 AM
тАО06-24-2009 11:43 AM
Actually some users are having hpux workstations running hpux 11.00.
We have created one user in that and given to him. we have the root password.
But user wants to shutdown the server from his login.
Is it possible with out configuring sudo.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 11:54 AM
тАО06-24-2009 11:54 AM
SolutionSee the manpages for 'shutdown(1M)'. You need to establish an entry for _both_ 'root' and the user in question in the '/etc/shutdown.allow' file. The requirements are discusssed in the "FILES" section of this manpage:
http://docs.hp.com/en/B2355-60130/shutdown.1M.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 08:01 PM
тАО06-24-2009 08:01 PM
Re: How to enable the user shutdown the hpux 11.00.
There are basically two ways that you can
allow users to shutdown a server. You can
include their user id in the shutdown.allow
file, or set up 'sudo' to do it. You can
also set up 'sudo' to other things as well.
Hope this helps,
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 08:34 PM
тАО06-24-2009 08:34 PM
Re: How to enable the user shutdown the hpux 11.00.
>>Is it possible with out configuring sudo.
Yes it is possible,
Using shutdown.allow file
This file is used to allow some system users to execute the shutdown command. Each line contains a system name followed by user names. Any user listed in this file has the privilege to shut down the system. An asterisk in the system name allows a user of given name from any system to execute the shutdown command. Some sample entries in this file are:
myhp root
myhp operator
* boota
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 09:44 PM
тАО06-24-2009 09:44 PM
Re: How to enable the user shutdown the hpux 11.00.
You can use 'sudo' setup for this purpose.
Secondly, can add some entry at
/etc/shutdown.allow file. Consider the example as:
# user1 can shut down systemA and systemB
systemA user1
systemB user1
# root can shut down any system
+ root
# Any user can shut down systemC
systemC +
Check the shutdown manpage at:
http://docs.hp.com/en/B2355-60130/shutdown.1M.html
Rgds-kranti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 10:07 PM
тАО06-24-2009 10:07 PM
Re: How to enable the user shutdown the hpux 11.00.
Dear Senthil
without sudo u can do it.
please make an entry of system hostname and the login name of a user authorized to reboot or halt the system in the /etc/shutdown.allow file The super-user's login name must be included in this file in order to execute shutdown.
thanks and regards
Sajjad Sahir