Operating System - HP-UX
1849978 Members
2001 Online
104049 Solutions
New Discussion

Re: The shutdown command is not possible !

 
SOLVED
Go to solution
Ivan Azuara
Regular Advisor

The shutdown command is not possible !

Hi !

I´m triying to reboot my HPUX server, but i receive the next message:

# shutdown -ry 0
User root not allowed to shutdown this system (b_inb_04) -- exiting shutdown.

The strange is that i already have the shutdown.allow file , but i receive the same message.

-rw-r--r-- 1 bin bin 15 Jan 5 14:02 shutdown.allow

# more shutdown.allow
root b_inb_04

Somebody have an idea that is the problem ?.


Thank's in advance
"Enjoy the life .."
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: The shutdown command is not possible !

Try having just the entry 'root' in shtudown.allow.
#cat shutdown.allow
root

Or try just deleting everything out of the shutdown.allow file.
Rajeev  Shukla
Honored Contributor
Solution

Re: The shutdown command is not possible !

I think the entries in shutdown.allow file are not right, have a look at the man pages of shutdown
man 1m shutdown
It says you should have the system name and then the user who is allowed to shutdown.

The file contains lines that consist of a system host name
and the login name of a user who is authorized to reboot or
halt the system.

Cheers
Rajeev
T G Manikandan
Honored Contributor

Re: The shutdown command is not possible !

Do these things

The file should have first the system name and then the user name

b_inb_04 root

you have done it reverse.

Second thing is check the permissions of the /usr/sbin/shutdown.It should be 4555.