Is it possible that there is some kind of alias defined which is setting the -k option on shutdown? Check with 'alias' command to see list of defined aliases.
On Sun, 30 Dec 2001 21:12:24 -0700 Roger <[EMAIL PROTECTED]> wrote: Roger> I saw the note and tried su - as well. Now I know why Linux makes such Roger> a bulletproof server - it refuses to go down! Roger> Roger> ''' Roger> ... Roger> login: root Roger> Password: Roger> Login incorrect Roger> Roger> login: roger Roger> Password: Roger> Last login: Sun Dec 30 19:56:58 from stupid Roger> [roger@penguin roger]$ su - Roger> Password: Roger> [root@penguin root]# shutdown -hf now Roger> Roger> Broadcast message from root (pts/0) Sun Dec 30 20:47:12 2001... Roger> Roger> The system is going down for system halt NOW !! Roger> [root@penguin root]# shutdown -hf now Roger> Roger> Broadcast message from root (pts/0) Sun Dec 30 20:47:43 2001... Roger> Roger> The system is going down for system halt NOW !! Roger> [root@penguin root]# Roger> ... Roger> ''' Roger> Roger> The broadcast messages appear on my vnc session, but I keep running. Roger> Roger> I checked my security level, it is set to low. I set it to high using Roger> the Mandrake control center, it seemed to process the setting, but Roger> stopping the control center and restarting it shows my security level is Roger> still at low??? Roger> Roger> I managed to create a new user in the root group but can't seem to get Roger> another telnet session going. Will reboot one way or another and try Roger> that next. Roger> Roger> Roger Roger> Roger> Roger> Roger> Michael Viron wrote: Roger> Roger> >do an 'su -' which will make sure that you get root's full environment. Roger> > Roger> >Michael Roger> > Roger> >-- Roger> >Michael Viron Roger> >Registered Linux User #81978 Roger> >Senior Systems & Administration Consultant Roger> >Web Spinners, University of West Florida Roger> > Roger> >At 08:19 PM 12/30/2001 -0700, you wrote: Roger> > Roger> >>Here is my tenet session going from Windows/me to Mandrake 8.1: Roger> >> Roger> >>''' Roger> >>... Roger> >>[roger@penguin roger]$ su Roger> >>Password: Roger> >>[root@penguin roger]# shutdown -h now Roger> >> Roger> >>Broadcast message from root (pts/0) Sun Dec 30 19:57:35 2001... Roger> >> Roger> >>The system is going down for system halt NOW !! Roger> >>[root@penguin roger]# su roger Roger> >>[roger@penguin roger]$ Roger> >>... Roger> >>''' Roger> >> Roger> >>I log on as myself (Linux doesn't allow me to log on directly as root), Roger> >>do a su, then shutdown. The broadcast message appears, but I can Roger> >>continue the using the session. I get the same results with the -hf Roger> >>option. Last evening I tried for about 90 minutes before I finally Roger> >>powered off the PC, so it had plenty of time to shutdown. Roger> >> Roger> >>I tried following some web-based advice to alter the /sbin/shutdown Roger> >>privileges and ownership. As su, I think I did a Roger> >> chmod 777 /sbin/shutdown Roger> >> chown roger:roger /sbin/shutdown Roger> >>but I get the same results. Roger> >> Roger> >>It is as if telnet users are somehow given a very low security level and Roger> >>are not permitted to execute shutdown. Roger> >> Roger> >>Before I took off the monitor,mouse, and keyboard, I could start Roger> >>vncserver and shut it down from another PC using the normal logout, then Roger> >>select halt from the messagebox. But when I start vncserver from Roger> >>telnet, I just get a logout confirmation box without the halt, reboot Roger> >>options. I even tried starting vncserver as su, then tried to shutdown Roger> >>-- same deal, the logout doesn't give me the halt or reboot options. Roger> >> Roger> >>I am obviously a newbie, is there some basic telnet authorization Roger> >>procedure I missed? Roger> >> Roger> >>Roger Roger> >> Roger> >> Roger> >> Roger> >>Michael Viron wrote: Roger> >> Roger> >>>Did you type the command as root? If you aren't root, you can't shutdown Roger> >>>the machine. I've had several times where I have issued the shutdown Roger> >>>command via ssh as root, and had no problems (although it does Roger> >>>occassionally take up to 5 minutes to fully shutdown). Roger> >>> Roger> >>>Michael Roger> >>> Roger> >>>-- Roger> >>>Michael Viron Roger> >>>Registered Linux User #81978 Roger> >>>Senior Systems & Administration Consultant Roger> >>>Web Spinners, University of West Florida Roger> >>> Roger> >>>At 04:27 PM 12/30/2001 -0700, you wrote: Roger> >>> Roger> >>>>Hi, Roger> >>>> Roger> >>>>I am trying to make an old PC into a keyboardless, mouseless, Roger> >>>>monitorless server. It boots and starts up OK and I can access it from Roger> >>>>telnet and vnc, but it refuses to shutdown. Roger> >>>> Roger> >>>>If I do a shutdown -h now from telnet, it broadcasts a message but Roger> >>>>doesn't shutdown. On vnc, the logoff button doesn't show a halt or Roger> >>>>reboot option. Roger> >>>> Roger> >>>>What are my options? Roger> >>>> Roger> >>>>TIA Roger> >>>> Roger> >>>>Roger Roger> >>>> Roger> >>>> Roger> >>>>_________________________________________________________ Roger> >>>>Do You Yahoo!? Roger> >>>>Get your free @yahoo.com address at http://mail.yahoo.com Roger> >>>> Roger> >>>> Roger> >>>>Want to buy your Pack or Services from MandrakeSoft? Roger> >>>>Go to http://www.mandrakestore.com Roger> >>>> Roger> >>> Roger> >>>------------------------------------------------------------------------ Roger> >>> Roger> >>>Want to buy your Pack or Services from MandrakeSoft? Roger> >>>Go to http://www.mandrakestore.com Roger> >>> Roger> >> Roger> >> Roger> >>_________________________________________________________ Roger> >>Do You Yahoo!? Roger> >>Get your free @yahoo.com address at http://mail.yahoo.com Roger> >> Roger> >> Roger> >>Want to buy your Pack or Services from MandrakeSoft? Roger> >>Go to http://www.mandrakestore.com Roger> >> Roger> > Roger> > Roger> >------------------------------------------------------------------------ Roger> > Roger> >Want to buy your Pack or Services from MandrakeSoft? Roger> >Go to http://www.mandrakestore.com Roger> > Roger> Roger> Roger> Roger> _________________________________________________________ Roger> Do You Yahoo!? Roger> Get your free @yahoo.com address at http://mail.yahoo.com Roger> Roger> -- Brian - [EMAIL PROTECTED] My Home Page: http://www.brimac.com/~brianmac Fine Photos: http://www.brimacphotography.com Art for Sale: http://www.artbrowser.com Classified Advertising: http://www.sellit2000.com Non-dairy creamer is flammable.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
