The OpenNET Project / Index page

[ новости/++ | форум | wiki | теги ]

Поиск:  Каталог документации

Next Previous Contents

5. Requiring root permission for shutdown

The default for the shutdown button on the login box allows anyone to use it to shutdown the system. The section in /usr/share/config/kdmrc controlling who may use this button looks like this:


#ShutdownButton=RootOnly
ShutdownButton=ConsoleOnly 

To enable only the root user to shutdown the system, change the lines as shown below:


ShutdownButton=RootOnly
#ShutdownButton=ConsoleOnly

Clicking the shutdown button will now prompt for the root password before shutting down the system.


Next Previous Contents
  Закладки на сайте
  Проследить за страницей
Created 1996-2017 by Maxim Chirkov  
ДобавитьРекламаВебмастеруГИД  
Hosting by Ihor