Operating System - HP-UX
1833017 Members
2159 Online
110048 Solutions
New Discussion

User root not allowed to shutdown this system

 
SOLVED
Go to solution
Vinesh Dhevcharran
Occasional Advisor

User root not allowed to shutdown this system

Hi,
On machine A, the /etc/shutdown.allow file is as follows (The dash indicates the begin and end of the file):
------
usera
userb
userc
root
------
The permission of this file is bin:bin and the permissions is 644
When I attempt to shutdow the machine as user root I get the following message:
User root not allowed to shutdown this system (machine A) -- exiting shutdown
Machine A is setup as a trusted machine.

Machine B has exactly the same shutdown.allow with the same permissions, but this machine does not have the shutdown problem. Machine B is not setup as a trusted machine

What is the problem with the shutdown in Machine A?
4 REPLIES 4
David_246
Trusted Contributor
Solution

Re: User root not allowed to shutdown this system

Hi,

I think you at first have to do you homework, you still have to award about 70 answers.

People will be happy to see their answers get rewarded.

Regs David
@yourservice
Darren Prior
Honored Contributor

Re: User root not allowed to shutdown this system

Hi,

According to the shutdown(1m) man page the shutdown.allow file requires the following syntax:

systemname username

ie:

MachineA root
MachineA usera
MachineA userb

regards,

Darren.
Calm down. It's only ones and zeros...
Steve Steel
Honored Contributor

Re: User root not allowed to shutdown this system

Hi


http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfdb73a1c04ffd61190050090279cd0f9,00.html


Try

+ root

Steve steel

pointless Answers makes giving answers pointless.
try and show some appreciation for the info you get
If you want truly to understand something, try to change it. (Kurt Lewin)
David_246
Trusted Contributor

Re: User root not allowed to shutdown this system

He, most of all they give me the 0 point now :)

It's all ok, I am very happy to see that you are working on your rewarding !! Most of all people don't bother.

I guess your problem is solved by now. If not please let us know !!

Best Regs David
@yourservice