[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: p.s. (was: Re: Shutdown by a user)





Dear Keren,

	Thank you very much for your mail. 

First let me answer in the sequence.

1. I have a linux cluster without keyboard and Mouse. So, 
the need arises to use to 'shutdown' command from a node
in the network.

2. RedHat 6.2 has /etc/pam.d/shutdown,which allows the user to
shutdown the machine after getting the passwd.

3. But I want in RH. 5.2, in which I don't have the file
in /etc/pam.d/shutdown. 

Q!! My Question is: If I copy the /etc/pam.d/shutdown from RH6.2, whether
it will work.


 
> an important note - if you let your user run the 'shutdown' command, they
> will be able to bring the system into single user mode and immediatly have
> a root shell. this is not a good idea. and this is the default setting on
> redhat 6.0... is it the same on redhat 6.2?

Question: Do you say the option of using 'linux single' from LILO prompt.
 Ans: If that is the case, I can modify the /etc/lilo.conf with
access restricted with the root passwd, so that no one can use the 
'linux single' option without root passwd.
 



Thanking you and waiting for your reply

N. Sakthivel




=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il