LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-06-2016, 08:30 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post Lock Shutdown and other related options when lock screen.


Hello.
Can I lock Shutdown and other related options like "Reboot", "Hibernate" and...when I use "Lock Screen" ? I don't like anyone can shutdown my system when I my account is locked.

Thank you.
 
Old 12-06-2016, 08:44 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by hack3rcon View Post
Hello.
Can I lock Shutdown and other related options like "Reboot", "Hibernate" and...when I use "Lock Screen" ? I don't like anyone can shutdown my system when I my account is locked.

Thank you.
relatively impossible. Because all one actually has to do is hit your power button, or unplug your computer. so....
 
Old 12-06-2016, 09:26 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
How not to ask a Sucky question....

What OS/Desktop?

Why do we have to beat it out of people?

Last edited by Habitual; 12-06-2016 at 09:27 AM. Reason: xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' \ -t 'bool' -s 'false'
 
1 members found this post helpful.
Old 12-06-2016, 10:01 AM   #4
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by Habitual View Post
How not to ask a Sucky question....

What OS/Desktop?

Why do we have to beat it out of people?
Debian 8.6 amd64 and MATE Desktop.
 
Old 12-06-2016, 10:39 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Sorry, I only have some Xfce hacks.
Short glance through some google.fu suggests polkit solution?

IDK if Debian 8.6 / MATE has a polkit package and if so, is it installed, and if so...
https://wiki.debian.org/Mate seems like where I might start.

Last edited by Habitual; 12-06-2016 at 10:42 AM.
 
Old 12-07-2016, 12:22 AM   #6
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by Habitual View Post
Sorry, I only have some Xfce hacks.
Short glance through some google.fu suggests polkit solution?

IDK if Debian 8.6 / MATE has a polkit package and if so, is it installed, and if so...
https://wiki.debian.org/Mate seems like where I might start.
I guess it exist and installed by default:
Code:
The mate-polkit package provides a D-Bus session bus service that is used to
bring up authentication dialogs used for obtaining privileges.

This package contains the MATE policy kit authentication agent.
 
Old 12-07-2016, 06:03 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Well, get some!
 
  


Reply


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
Lock X screen and lock ctrl/alt keys Mr. Alex Linux - Software 4 02-10-2012 08:03 AM
deian yum lock [ ERR] Reading state information E: Could not get lock /var/lock/aptit jayakumar01 Linux - Server 1 12-05-2011 11:26 AM
Disable lock session (lock screen) when switch user in KDE 4.x Murz Linux - Desktop 4 12-01-2010 08:28 AM
Num lock OFF and Caps & Screen Lock ON at Linux startup. Reversing? peteyperson Linux - Newbie 2 02-28-2009 11:44 AM
howto disable shutdown/lock screen and make system wide icons jojobold SUSE / openSUSE 1 10-11-2006 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:19 PM.

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