fluxbox logout
I am running fluxbox under RedHat 8. Under gnome, there is a logout button that will pop up a menu asking if you want to logout, reboot or shutdown. Is there a command I can put in the fluxbox menu that will get me the same options when I'm ready to quit/reboot/whatever?
|
~/.fluxbox/menu:
Code:
[submenu] (Fluxbox-menu) EDIT: (forgot the most important part :) Code:
[exec] (REBOOT) {reboot} |
No, there's no command for that.
|
Quote:
|
Quote:
man sudo Cheers, Tink |
Quote:
|
Quote:
As Tinkster says, the /etc/sudoers file specifies who gets to do what. It's one way of granting normal users the privilege of shutting down and whatnot. So no, you don't have to be root to do it. |
or a less secure alternative is if you are the only one using the machine chmod 7755 /sbin/shutdown then shutdown -h now works
|
is there a way too exit from the command line. commands such as exit or logout only close the terminal. or do i have to right click and choose exit? really id like to enter in a command. anyone know about this?
|
Depending on your distro and how you're setup, you can either:
1) Type halt or reboot as your user or try it as root (using SU) or 2) you can try as root "shutdown -h now" and see if that works. |
Quote:
kill `ps -Al | grep flux | cut -b 12-17` The hard way ;) su -c killall X Cheers, Tink |
Quote:
P.S.: the hard way ;) <CTRL><ALT><BACKSPACE> |
Do like I did the first time I've got my 386 computer with win3.1, go directly into the on/off switch of your computer :) No complications...
seriously, don't do it :) |
Quote:
|
Quote:
/me is puzzled Cheers, Tink |
All times are GMT -5. The time now is 01:09 PM. |