[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] xfce4 - shutdown vha. "Exit"-knap virker ikke som alm.bruger.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hej

Som root skriv:

# visudo

og tilføj:

Cmnd_Alias      HALT = /sbin/halt, /usr/sbin/fasthalt, /sbin/init 0
# User privilege specification
root    ALL=(ALL) ALL
foo   ALL= HALT

Evt læs 'man visudo'


Admir Trakic Debian Gnu/Linux user #99406 http://www.trakic.com/


Jan Holst Jensen wrote: | Hej. | | Jeg kører Debian Sarge med Xfce4 som Window Manager | (lækkert!). Der findes en Exit-knap hvor man kan | udover at lukke sessionen også kan lukke computeren | ned. Det virker fint at lukke computeren ned, men kun | hvis jeg er root. Som almindelig bruger kommer der en | fin fejlmeddelelse hvor den siger at man enten skal | tilføje sig til /etc/xfce4/shutdown.allow eller man | skal konfigurere sudo til at man kan køre reboot eller | halt. | | Jeg har prøvet at tilføje mig selv til | /etc/xfce4/shutdown.allow men det hjælper ikke en | pind. | | Jeg har installeret sudo så jeg kan nu som almindelig | bruger køre "sudo shutdown -h now" og det virker som | det skal når jeg kører kommandoen fra en xterm. Men | xfce4 vil ikke lukke ned. | | Hvad mangler der ? Jeg har googlet og det ser ud til | at xfce4 kalder noget der hedder | /usr/libexec/xfsm-shutdown-helper ? Kan jeg komme | afsted med at tilføje dette script der så kalder "sudo | shutdown -h now" ? Eller forventer den at der findes | kommandoerne "halt" og "reboot" ? | | Eller er jeg måske bedre tjent med bare at tilføje en | launcher til panelet der så kalder "sudo shutdown -h | now" :-) ? | | Mvh | -- Jan | | | | __________________________________ | Do you Yahoo!? | Yahoo! Mail - 250MB free storage. Do more. Manage less. | http://info.mail.yahoo.com/mail_250 | | | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCGOCPNJa7XLcTxWMRAgTDAKC8B62/MYgcS90x0PAZ1e6rv3uQBACgxNRq
09C0ODLtbQx/qj4wqXe2DN4=
=fZi7
-----END PGP SIGNATURE-----


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:26 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *