LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   lock session / switch user (https://www.linuxquestions.org/questions/suse-opensuse-60/lock-session-switch-user-332058/)

wooot 06-09-2005 09:35 PM

lock session / switch user
 
i would like to disable the switch user button on the screen saver tab as it is possible for people here to turn off the system.

after clicking the switch user button it goes to the main login screen and from there anyone can shut the system down

now if i'm downloading or uploading files large files or working on a project all my work is f**ked

now if its not possible to disable this button how else can i lock the system from everyone

thanks for any help on this

wooot 06-09-2005 09:48 PM

i think i made what i'd like to do clear but here's a link about it http://docs.kde.org/development/en/k...-sessions.html

win32sux 06-09-2005 10:01 PM

one thing you can TRY:

use visudo to see if there's a line that looks sorta like this:
Code:

%users ALL = NOPASSWD: /sbin/shutdown -h now
if there is, then comment the line... that line is from my slackware PC, i have that line there so that regular users will be able to shutdown the system, as they aren't able to do so by default...

AdamCo 06-10-2005 01:26 PM

If you go to Yast, then Security and Users, then Security Settings, click the radio button next to custom (probably already selected) then hit next again and on that screen you can choose options for people to be able to shut down from KDM. It asks for a password to shutdown or restart if you set it to root only. Also I believe on the last screen that if you set file permission to Secure it will ask for a password before you shutdown also.

wooot 06-13-2005 01:54 PM

thanks AdamCo that worked a treat ;)


All times are GMT -5. The time now is 05:43 PM.