Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 06-09-2005, 09:35 PM   #1
Registered: Mar 2005
Posts: 90

Rep: Reputation: 15
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
Old 06-09-2005, 09:48 PM   #2
Registered: Mar 2005
Posts: 90

Original Poster
Rep: Reputation: 15
i think i made what i'd like to do clear but here's a link about it

Last edited by wooot; 06-09-2005 at 09:49 PM.
Old 06-09-2005, 10:01 PM   #3
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
one thing you can TRY:

use visudo to see if there's a line that looks sorta like this:
%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...
Old 06-10-2005, 01:26 PM   #4
Registered: Aug 2004
Distribution: Suse 10
Posts: 126

Rep: Reputation: 15
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.

Last edited by AdamCo; 06-10-2005 at 01:28 PM.
Old 06-13-2005, 01:54 PM   #5
Registered: Mar 2005
Posts: 90

Original Poster
Rep: Reputation: 15
thanks AdamCo that worked a treat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Session Lock dutch1918 SUSE / openSUSE 3 05-04-2006 04:01 PM
KDE Lock Session Hot Key sadarax Linux - Software 2 11-14-2005 03:55 PM
KDE 3.3.2 lock session pete123 Linux - Software 0 12-26-2004 12:38 PM
Lock the current terminal session? kipbenson4 Linux - Newbie 1 08-14-2003 09:04 AM
switch user for the whole KDE session, not just the Konsole glock19 Linux - General 2 12-12-2001 02:31 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration