Tried playing with telinit. It seems that telinit is civilized enough that
it will only want a user to be superuser, not necessarily root. I thought
sudo when set to all=(all) all would make you superuser , but apparently
not in a way that telinit or shutdown likes.
|---------+---------------------------->
| | Alan Cox |
| | <[EMAIL PROTECTED]|
| | u.org.uk> |
| | Sent by: Linux on|
| | 390 Port |
| | <[EMAIL PROTECTED]|
| | IST.EDU> |
| | |
| | |
| | 03/19/2002 12:25 |
| | PM |
| | Please respond to|
| | Linux on 390 Port|
| | |
|---------+---------------------------->
>--------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: Re: [Linux/390] Putting the Penquins to bed
|
>--------------------------------------------------------------------------------------------------------------|
> Is there any similar facility for Linux running native in an LPAR? I
tried
> granting an ID 'All' access using sudo, but shutdown insists on being
> called by the root ID and likewise, I don't wanna sent the root password
> across the network.
This is when ssh can come in useful - ssh encrypts sessions so you don't
have to send stuff across the network. Shutdown checking specifically for
the root user by name is broken too. That wants filing as a bug - Its plain
bad manners by the program.
shutdown actually just does nice warnings wrapped around "telinit 6"