Re[4]: [newbie] No logout/halt/reboot in Dolphin
Hey, Okay, it seems I need to answer my own question: I'm still a newbie at Linux, and so I had no idea *why* I couldn't get those halt/reboot/logout options to appear. Well, after playing around, just looking and looking all over in the menus, I ran across the Login Manager. Its kinda hidden in Dolphin's menus. In any case, in the Login Manager, I went to the Sessions tab. The very first setting is called Allow Shutdown and you have a subsetting for the Console and Remote. The setting for Console said Nobody; I simply changed it to Everybody. I logged out and logged back in, and then tried to log out again. To my delight, I now had the options to halt/reboot/logout. Success! I remember this setting in 8.2 in KDE, too, however as I currently don't want to install X I'd be glad if someone could tell me what to do from command line. I'll try Derek's suggestions (thanks) and make a search on my own. Have you ever had high security?, or did you upgrade instead of install? No, I never had high security and I performed a clean install with reformat. -- TIA Roman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: Re[4]: [newbie] No logout/halt/reboot in Dolphin
Roman Korcek [EMAIL PROTECTED] wrote: Hey, Okay, it seems I need to answer my own question: I'm still a newbie at Linux, and so I had no idea *why* I couldn't get those halt/reboot/logout options to appear. Well, after playing around, just looking and looking all over in the menus, I ran across the Login Manager. Its kinda hidden in Dolphin's menus. In any case, in the Login Manager, I went to the Sessions tab. The very first setting is called Allow Shutdown and you have a subsetting for the Console and Remote. The setting for Console said Nobody; I simply changed it to Everybody. I logged out and logged back in, and then tried to log out again. To my delight, I now had the options to halt/reboot/logout. Success! I remember this setting in 8.2 in KDE, too, however as I currently don't want to install X I'd be glad if someone could tell me what to do from command line. I'll try Derek's suggestions (thanks) and make a search on my own. Have you ever had high security?, or did you upgrade instead of install? No, I never had high security and I performed a clean install with reformat. -- TIA Roman Roman: Do a man shutdown from your terminal window. I believe a shutdown now command will take the system cleanly down all the way -- nickE __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No logout/halt/reboot in Dolphin
Hi all, I don't know if its just my level of security or what, but the options to logout, halt, and reboot don't show up when I logout of KDE in Mandrake Linux 9.0. I previously had RedHat Linux 7.3 installed, and the options were there. What am I missing? Is there a security level that will trigger those options to disappear? I have the Higher security setting on right now. This isn't tearing me apart, but its rather annoying... I have a very similar question - in 9.0 I can't run shutdown as a regular user anymore - says command not found. So I guessed it's in /sbin which isn't in a regular user's path so I typed /sbin/shutdown -r now but bash said only root can do that. Shutdown has r-x permission for all, so, I wonder, what setting/file do I need to change in order to be able to run shutdown as a regular user? -- TIA Roman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No logout/halt/reboot in Dolphin
Shutdown is under the control of PAM (Permissions access module?) If you look at /usr/bin/shutdown you will see it is in fact a symlink to an application called 'consolehelper' Consolehelper is a wrapper which looks at the name of the symlink it was called from (in this case shutdown) and looks it up in /etc/pam.d If it finds a file in there with the same name as the symlink it applies the authentication tests it finds there. If authentication passes consolehelper will pass control over to the requested application. ( /sbin/shutdown) /etc/pam.d/shutdown contains :- #%PAM-1.0 auth sufficient /lib/security/pam_rootok.so auth required /lib/security/pam_console.so #auth required/lib/security/pam_stack.so service=system-auth accountrequired /lib/security/pam_permit.so In your case I think it is the last line which is stopping you running shutdown. Probably because of your security level. If you ask for high security, then that is what you get :) derek On Tuesday 15 Oct 2002 11:50 am, Roman Korcek wrote: Hi all, I don't know if its just my level of security or what, but the options to logout, halt, and reboot don't show up when I logout of KDE in Mandrake Linux 9.0. I previously had RedHat Linux 7.3 installed, and the options were there. What am I missing? Is there a security level that will trigger those options to disappear? I have the Higher security setting on right now. This isn't tearing me apart, but its rather annoying... I have a very similar question - in 9.0 I can't run shutdown as a regular user anymore - says command not found. So I guessed it's in /sbin which isn't in a regular user's path so I typed /sbin/shutdown -r now but bash said only root can do that. Shutdown has r-x permission for all, so, I wonder, what setting/file do I need to change in order to be able to run shutdown as a regular user? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re[2]: [newbie] No logout/halt/reboot in Dolphin
Hey Derek, I have a very similar question - in 9.0 I can't run shutdown as a regular user anymore - says command not found. So I guessed it's in /sbin which isn't in a regular user's path so I typed /sbin/shutdown -r now but bash said only root can do that. Shutdown has r-x permission for all, so, I wonder, what setting/file do I need to change in order to be able to run shutdown as a regular user? Shutdown is under the control of PAM (Permissions access module?) If you look at /usr/bin/shutdown you will see it is in fact a symlink to an application called 'consolehelper' Consolehelper is a wrapper which looks at the name of the symlink it was called from (in this case shutdown) and looks it up in /etc/pam.d If it finds a file in there with the same name as the symlink it applies the authentication tests it finds there. If authentication passes consolehelper will pass control over to the requested application. ( /sbin/shutdown) /etc/pam.d/shutdown contains :- #%PAM-1.0 auth sufficient /lib/security/pam_rootok.so auth required /lib/security/pam_console.so #auth required/lib/security/pam_stack.so service=system-auth accountrequired /lib/security/pam_permit.so In your case I think it is the last line which is stopping you running shutdown. Probably because of your security level. If you ask for high security, then that is what you get :) Thank you for the answer, but I set the lowest security level at install (I think it was Medium). So what do I neeed to do? Commment out the last line? -- TIA Roman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: Re[2]: [newbie] No logout/halt/reboot in Dolphin
On Tuesday 15 Oct 2002 12:25 pm, Roman Korcek wrote: Hey Derek, I have a very similar question - in 9.0 I can't run shutdown as a regular user anymore - says command not found. So I guessed it's in /sbin which isn't in a regular user's path so I typed /sbin/shutdown -r now but bash said only root can do that. Shutdown has r-x permission for all, so, I wonder, what setting/file do I need to change in order to be able to run shutdown as a regular user? Shutdown is under the control of PAM (Permissions access module?) If you look at /usr/bin/shutdown you will see it is in fact a symlink to an application called 'consolehelper' Consolehelper is a wrapper which looks at the name of the symlink it was called from (in this case shutdown) and looks it up in /etc/pam.d If it finds a file in there with the same name as the symlink it applies the authentication tests it finds there. If authentication passes consolehelper will pass control over to the requested application. ( /sbin/shutdown) /etc/pam.d/shutdown contains :- #%PAM-1.0 auth sufficient /lib/security/pam_rootok.so auth required /lib/security/pam_console.so #auth required/lib/security/pam_stack.so service=system-auth accountrequired /lib/security/pam_permit.so In your case I think it is the last line which is stopping you running shutdown. Probably because of your security level. If you ask for high security, then that is what you get :) Thank you for the answer, but I set the lowest security level at install (I think it was Medium). So what do I neeed to do? Commment out the last line? No I do not think that would help. You have to 'pass' a test to get access to the command. If you have medium security I do not understand why your system should behave differently to mine (also medium) My ordinary users can use shutdown without a problem. Have you ever had high security?, or did you upgrade instead of install? It might be worth taking a look at /etc/security/console.apps I have a zero byte file in there called shutdown. It may be that at higher security levels that file does something. You could also try editing /etc/pam.d/shutdown like this :- #%PAM-1.0 auth sufficient /lib/security/pam_rootok.so auth required /lib/security/pam_console.so auth required /lib/security/pam_stack.so service=system-auth #accountrequired/lib/security/pam_permit.so I think you will then be prompted for a password before shutdown derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: Re[2]: [newbie] No logout/halt/reboot in Dolphin
On Tuesday 15 October 2002 08:07 am, you wrote: snip Thank you for the answer, but I set the lowest security level at install (I think it was Medium). So what do I neeed to do? Commment out the last line? No I do not think that would help. You have to 'pass' a test to get access to the command. If you have medium security I do not understand why your system should behave differently to mine (also medium) My ordinary users can use shutdown without a problem. Have you ever had high security?, or did you upgrade instead of install? It might be worth taking a look at /etc/security/console.apps I have a zero byte file in there called shutdown. It may be that at higher security levels that file does something. You could also try editing /etc/pam.d/shutdown like this :- #%PAM-1.0 auth sufficient /lib/security/pam_rootok.so auth required /lib/security/pam_console.so auth required /lib/security/pam_stack.so service=system-auth #accountrequired /lib/security/pam_permit.so I think you will then be prompted for a password before shutdown derek Guys, I don't about 9.0, or which versions (RC releases, boxed set, d/l versions) you're using, but I had this same trouble with 8.2. Using the d/l 3 CD version, any normal user on my system could not shut it down. As soon as I purchased the boxed set (7 CD Powerpack), my normal users could once again shut down. I don't know if its relevant here or not, but its just a thought... See ya... -- /\ Dark Lord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: Re[2]: [newbie] No logout/halt/reboot in Dolphin
Okay, it seems I need to answer my own question: I'm still a newbie at Linux, and so I had no idea *why* I couldn't get those halt/reboot/logout options to appear. Well, after playing around, just looking and looking all over in the menus, I ran across the Login Manager. Its kinda hidden in Dolphin's menus. In any case, in the Login Manager, I went to the Sessions tab. The very first setting is called Allow Shutdown and you have a subsetting for the Console and Remote. The setting for Console said Nobody; I simply changed it to Everybody. I logged out and logged back in, and then tried to log out again. To my delight, I now had the options to halt/reboot/logout. Success! Now I could be wrong about this; I could have changed a different setting somewhere else, but I SERIOUSLY DOUBT IT. (In other words, I don't know why this setting change accomplished what I was after). The point is that it worked and I'm finished. Ugh! -Lawrence Winstead 10/15/2002 7:51:53 AM, Ronald J. Hall [EMAIL PROTECTED] wrote: On Tuesday 15 October 2002 08:07 am, you wrote: snip Thank you for the answer, but I set the lowest security level at install (I think it was Medium). So what do I neeed to do? Commment out the last line? No I do not think that would help. You have to 'pass' a test to get access to the command. If you have medium security I do not understand why your system should behave differently to mine (also medium) My ordinary users can use shutdown without a problem. Have you ever had high security?, or did you upgrade instead of install? It might be worth taking a look at /etc/security/console.apps I have a zero byte file in there called shutdown. It may be that at higher security levels that file does something. You could also try editing /etc/pam.d/shutdown like this :- #%PAM-1.0 auth sufficient/lib/security/pam_rootok.so auth required /lib/security/pam_console.so auth required /lib/security/pam_stack.so service=system-auth #accountrequired /lib/security/pam_permit.so I think you will then be prompted for a password before shutdown derek Guys, I don't about 9.0, or which versions (RC releases, boxed set, d/l versions) you're using, but I had this same trouble with 8.2. Using the d/l 3 CD version, any normal user on my system could not shut it down. As soon as I purchased the boxed set (7 CD Powerpack), my normal users could once again shut down. I don't know if its relevant here or not, but its just a thought... See ya... -- /\ Dark Lord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] No logout/halt/reboot in Dolphin
I don't know if its just my level of security or what, but the options to logout, halt, and reboot don't show up when I logout of KDE in Mandrake Linux 9.0. I previously had RedHat Linux 7.3 installed, and the options were there. What am I missing? Is there a security level that will trigger those options to disappear? I have the Higher security setting on right now. This isn't tearing me apart, but its rather annoying... Thanks for any help. -Lawrence Winstead Systems Admin DuraTech Industries Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No logout/halt/reboot in Dolphin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 14 October 2002 11:55 am, Flux did speak unto the huddled masses, saying: I don't know if its just my level of security or what, but the options to that is indeed the reason if i recall correctly. - -- The box said 'Requires Windows 95 or better.' So I installed Linux. shane Profile at: http://dmoz.org/profiles/shen.html Proud to be a DMOZ editor since 10-98 Mandrake Users Club Member http://www.linux-mandrake.com/en/club/ Registered linux user #101606 http://counter.li.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9qo4oBwq+ZwvIN/oRAvdGAJ0VZwprWp1wBcacMUnyqUIUUPtUfQCdE59N GNpmPP4Fk9Id2mStINI1Jak= =5VTR -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com