Re: [newbie] Other user except root can shutdown server?
At 09:18 PM 5/7/99 -0500, you wrote: >I used that Linux Conf to add the feature to shutdown as user but it does >not seem to work so I tried doing what you suggested but that does not work >either? >Jeanette Issue an ls -al /sbin/shutdown command and the attributes should look like this: -rwsr-xr-x 1 root root12932 Aug 23 1998 /sbin/shutdown Under Linuxconf/User Accounts I have the following: Base Info: user 'sdozier' group 'root' Priviledges: May Use Linuxconf May Shutdown May View system logs Superuser Equivalence "All Granted" Stefan Dozier [EMAIL PROTECTED]
Re: [newbie] Other user except root can shutdown server?
I used that Linux Conf to add the feature to shutdown as user but it does not seem to work so I tried doing what you suggested but that does not work either? Jeanette - Original Message - From: Stefan Dozier <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 07, 1999 11:03 AM Subject: Re: [newbie] Other user except root can shutdown server? > At 06:45 AM 5/7/99 -0500, you wrote: > > >> I accomplished that feat issuing the "chmod u+s /sbin/shutdown" > >> > >> Now my regular user as well as root can perform system shutdown. > > > >Tried it and it does not work here > >Jeanette > > Do you have your regular setup as a member of the root group ? > > > > Stefan Dozier > [EMAIL PROTECTED] > >
Re: [newbie] Other user except root can shutdown server?
Gilbert Espinosa escribió: > Stefan Dozier wrote: > > > At 11:30 AM 5/7/99 +0800, you wrote: > > > > >The fastest way for a regular user to shutdown is to press ctrl-alt-del then > > >press the off button when the screen shows the initial boot up sequence. eg > > >before memory check > > > > You're kidding righthehehehehehe > > Stefan Dozier > > [EMAIL PROTECTED] > > No, actually I saw that trick in one of the Linux Documentation. Don't know > which one but it does work. Of course you can't do that if you're logged in over > a network. It is found in the /etc/inittab file. It sure sounds funny though. > 8^) > > Gilbert I thought that was the normal way to do it!!! 8 D =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Get Your Own Free Pop or Web Based Email and a 10MB Web Site for FREE at: http://www.nettaxi.com! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Re: [newbie] Other user except root can shutdown server?
Gilbert Espinosa wrote: > > Stefan Dozier wrote: > > > At 11:30 AM 5/7/99 +0800, you wrote: > > > > >The fastest way for a regular user to shutdown is to press ctrl-alt-del then > > >press the off button when the screen shows the initial boot up sequence. eg > > >before memory check > > > > You're kidding righthehehehehehe > > Stefan Dozier > > [EMAIL PROTECTED] > > No, actually I saw that trick in one of the Linux Documentation. Don't know > which one but it does work. Of course you can't do that if you're logged in over > a network. It is found in the /etc/inittab file. It sure sounds funny though. > 8^) > > Gilbert Actually, this is a very legit way of shutting down. Ctrl-Alt-Del key combo is trapped by linux to reboot. You can actually change this default behaviour - someone posted about it a long while ago but I cannot remember it now. You cannot do this over the network, I think. As that will reset your local machine. The easiest way to do it, IMHO is to make a small script containing this line: su -c /sbin/halt save it (as say, "halt") and make the script executable [chmod +x myfile] and copy it into your /home/myhome/ directory. Now, typing "halt" will ask for your root password, once entered, it will immediately shutdown your machine in the proper manner. You could also replace the /halt with /reboot for rebooting. Or...if you somehow do not have the halt and reboot commands (scripts) in your /sbin, you can write: su -c "/sbin/shutdown -r now" instead. The " are required since you are passing arguments and need to separate with a space...uhm...you know what I mean, right? :-P Regards, -- -- Kuraiken - Apprentice Codecaster & Python breeder --
Re: [newbie] Other user except root can shutdown server?
Stefan Dozier wrote: > At 11:30 AM 5/7/99 +0800, you wrote: > > >The fastest way for a regular user to shutdown is to press ctrl-alt-del then > >press the off button when the screen shows the initial boot up sequence. eg > >before memory check > > You're kidding righthehehehehehe > Stefan Dozier > [EMAIL PROTECTED] No, actually I saw that trick in one of the Linux Documentation. Don't know which one but it does work. Of course you can't do that if you're logged in over a network. It is found in the /etc/inittab file. It sure sounds funny though. 8^) Gilbert
Re: [newbie] Other user except root can shutdown server?
At 06:45 AM 5/7/99 -0500, you wrote: >> I accomplished that feat issuing the "chmod u+s /sbin/shutdown" >> >> Now my regular user as well as root can perform system shutdown. >Tried it and it does not work here >Jeanette Do you have your regular setup as a member of the root group ? Stefan Dozier [EMAIL PROTECTED]
Re: [newbie] Other user except root can shutdown server?
On Fri, 07 May 1999, you wrote: > Tried it and it does not work here > Jeanette That is because the shutdown command is not available for su root, as the standard su root path doesn't include /sbin. I would recommend putting a symlink maybe in the /usr/bin or somewhere where the path is on the su root. To find out what the path is, do an echo $PATH and put the symlink in one of the directories that it spews out to you. That should work. Good luck Martin -- I tell them to turn to the study of mathematics, for it is only there that they might escape the lusts of the flesh. -- Thomas Mann, "The Magic Mountain"
Re: [newbie] Other user except root can shutdown server?
At 11:30 AM 5/7/99 +0800, you wrote: >The fastest way for a regular user to shutdown is to press ctrl-alt-del then >press the off button when the screen shows the initial boot up sequence. eg >before memory check You're kidding righthehehehehehe Stefan Dozier [EMAIL PROTECTED]
Re: [newbie] Other user except root can shutdown server?
Tried it and it does not work here Jeanette - Original Message - From: Stefan Dozier <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 06, 1999 3:16 PM Subject: Re: [newbie] Other user except root can shutdown server? > At 04:16 PM 5/6/99 +0800, you wrote: > >Hi: > > I have added a user named "lyn" as group of root. But the command of > >"shutdown" cannt be used by "lyn". How to assign the right of root to "lyn". > > I accomplished that feat issuing the "chmod u+s /sbin/shutdown" > > Now my regular user as well as root can perform system shutdown. > > There's also some functions under Linuxconf, that allows you to assign > shutdown priviledges to regular users, but it never worked for me while > using Redhat Linux v5.1, so I used the above procedure to accomplish it. > > > Probably not the best way to do it, but it works. > > > > Stefan Dozier > [EMAIL PROTECTED] > >
Re: [newbie] Other user except root can shutdown server?
Stefan Dozier wrote: > At 04:16 PM 5/6/99 +0800, you wrote: > >Hi: > > I have added a user named "lyn" as group of root. But the command of > >"shutdown" cannt be used by "lyn". How to assign the right of root to "lyn". > > I accomplished that feat issuing the "chmod u+s /sbin/shutdown" > > Now my regular user as well as root can perform system shutdown. > > There's also some functions under Linuxconf, that allows you to assign > shutdown priviledges to regular users, but it never worked for me while > using Redhat Linux v5.1, so I used the above procedure to accomplish it. > > Probably not the best way to do it, but it works. > > > Stefan Dozier > [EMAIL PROTECTED] The fastest way for a regular user to shutdown is to press ctrl-alt-del then press the off button when the screen shows the initial boot up sequence. eg before memory check
Re: [newbie] Other user except root can shutdown server?
>Date: Thu, 6 May 1999 02:03:46 -0700 (PDT) >From: Roberto Angelo <[EMAIL PROTECTED]> ... >"John l.yn" <[EMAIL PROTECTED]> scritto: >> >> Hi: >>I have added a user named "lyn" as group of root. But the command >of >> "shutdown" cannt be used by "lyn". How to assign the right of root >to "lyn". Look at man 8 shutdown -> ACCESS CONTROL. 73! __
Re: [newbie] Other user except root can shutdown server?
At 04:16 PM 5/6/99 +0800, you wrote: >Hi: > I have added a user named "lyn" as group of root. But the command of >"shutdown" cannt be used by "lyn". How to assign the right of root to "lyn". I accomplished that feat issuing the "chmod u+s /sbin/shutdown" Now my regular user as well as root can perform system shutdown. There's also some functions under Linuxconf, that allows you to assign shutdown priviledges to regular users, but it never worked for me while using Redhat Linux v5.1, so I used the above procedure to accomplish it. Probably not the best way to do it, but it works. Stefan Dozier [EMAIL PROTECTED]
Re: [newbie] Other user except root can shutdown server?
If you want user lyn to have temporary root access, simply type su at the command prompt, then enter the root password. -- Meanie
Re: [newbie] Other user except root can shutdown server?
"John l.yn" <[EMAIL PROTECTED]> scritto: > > Hi: >I have added a user named "lyn" as group of root. But the command of > "shutdown" cannt be used by "lyn". How to assign the right of root to "lyn". > > > Thanks! > > John l.yn > > try by linuxconf about lyn to set super-users privilege there is somewhere an options that permit to all user halt & reboot but I don't remeber. _ DO YOU YAHOO!? Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it
[newbie] Other user except root can shutdown server?
Hi: I have added a user named "lyn" as group of root. But the command of "shutdown" cannt be used by "lyn". How to assign the right of root to "lyn". Thanks! John l.yn