Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] "shutdown -h now" powers off and reboots (also KDE  (Read 12608 times)

farinet

  • Guest
[EN] Re: RE: Re: RE: Re: shutdown -h now powers off and then rebo
« Reply #30 on: 2013/08/14, 15:13:26 »
In the fluxbox menu i've now 3 shortcuts using gksu and all work!

SUSPEND:
Code: [Select]
gksu "qterminal -e pm-suspend"&exit
REBOOT:
Code: [Select]
gksu "qterminal --execute reboot"
SHUTDOWN:
Code: [Select]
gksu "qterminal --execute halt"

PS. May be it's an overkill to ask for pswd to go to suspend; but practically it can be done too or by closing the lid or by (default for the HP Pavilion) keyboard shortcut (FN+F5).

Offline michaa7

  • User
  • Posts: 2.321
Re: RE: Re: RE: Re: shutdown -h now powers off and then rebo
« Reply #31 on: 2013/08/14, 16:22:18 »
Thanks for sharing this with us.

But for all those shortcuts to work you need to issue the *root* password. Shutdown/reboot with acpid does not require a p/w.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

farinet

  • Guest
Re: RE: Re: RE: Re: shutdown -h now powers off and then rebo
« Reply #32 on: 2013/08/14, 16:40:21 »
True, and i'll look closer to the acpid scripts in the near future. Generally, i don't mind to have to put in pswd for shutdown or reboot in a prospective of security

farinet

  • Guest
RE: Re: RE: Re: RE: Re: shutdown -h now powers off and then
« Reply #33 on: 2013/08/16, 14:15:29 »
Oh, since i'd problems with an installation the firestarter nox (graphics completely distorted) i studied a bit the manual. And what did i find? :shock:

Under the title: siduction-*.iso - Live Mode root password there is written:

Code: [Select]
To set a (temporary) root-password

Open a console/ shell:

siduction@0[siduction]$ sudo passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
siduction@0[siduction]$


;) ;)

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: RE: Re: RE: Re: RE: Re: shutdown -h now powers off and t
« Reply #34 on: 2013/08/17, 14:26:24 »
Quote from: "farinet"
Oh, since i'd problems with an installation the firestarter nox (graphics completely distorted) i studied a bit the manual. And what did i find? :shock:

Under the title: siduction-*.iso - Live Mode root password there is written:

Code: [Select]
To set a (temporary) root-password

Open a console/ shell:

siduction@0[siduction]$ sudo passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
siduction@0[siduction]$


;) ;)


Which was already mentioned in this thread on page 1
Quote from: "piper"
I have been building for a long time now and have yet to see sudo work out of the box on a clean install (live cd does not count)


Even in live mode, I still don't/won't use sudo
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck