remove the 'shutdown' buttons
hello everyone,
how is it possible to remove the 'restart' and 'shutdown' buttons from kdm, so that they don't appear when a user exits from an X session ? note that i would still prefer to see them when a root logs off an X session.... nass |
root should never log into X sessions
|
nevertheless, he can... and it is not my main concern right now:)
|
My memory is hazy since my system hasn't been set up like this in years, but i think that if the user doesn't have permission to shutdown/reboot then those buttons don't appear in the exit menu. ie if the user were to type "shutdown -h" at the shell then they get an error message (don't remember exact wording).
I used to have to type su - c "shutdown -h" and enter root password to shutdown my PC before I gave my everyday login permissions to shutdown and reboot. Hope this helps and apologies if my addled mind is deluding me :) phunkymunky |
kcontrol - system admininstration - login manager - shutdown tab
|
actually it didn't i can still restart the pc after chmoding the shutdown, halt and reboot executables..
|
aha! thats it.... thank you very much!:)
|
All times are GMT -5. The time now is 06:50 AM. |