--Quote:> Thanks in advance,
> --
> Have a nice day
> To mail me delete ".removethispart.", including the dots in email id
You misspelled "shutdown". Could that be the source of your problem?Quote:> The following lines have been added to the .profile file
> Shutdown -h now
You might need the full path to the shutdown command.
Are you getting any error messages to the screen or in the syslogs?
===========================================================================
We're all water from different rivers. --Yoko Ono
===========================================================================
I created a script which contained the shutdown command, and then
defined this in /etc/passwd to be the shutdown user's shell. They log
in, login fires off the script, the shutdown command executes, the
script exits and terminates the user, and the system goes down.
Doing it this way there is almost no chance that the user is left in
possession of a root shell, even if things go wrong...
Posted At: 16 April 2001 14:47
Posted To: admin
Conversation: Shutdown Woes!
Subject: Re: Shutdown Woes!
In our last episode, the evil Dr. Lacto had captured our hero,
> The following lines have been added to the .profile file
> Shutdown -h now
You misspelled "shutdown". Could that be the source of your problem?
You might need the full path to the shutdown command.
Are you getting any error messages to the screen or in the syslogs?
hymie! http://www.smart.net/~hymowitz
========================================================================
=======
We're all water from different rivers.
--Yoko Ono
========================================================================
=======
--
Urban A. Haas
CEO - Urban Technology, Inc.
Minneapolis, MN USA
Phone: (952) 595-8810 Fax: (952) 595-8710
Web: http://www.urbantechnology.com
This e-mail was composed of 100% recycled bits.
> Drop the idea of "shutdown account" and install sudo instead. Then
> configure /etc/sudoers so selected users are able to run the normal
"shutdown" command.
> > Thanks in advance,
> > --
> > Have a nice day
> > To mail me delete ".removethispart.", including the dots in email id
> --
> Peter H?kanson
> IPSec Sverige (At the Riverside of Gothenburg, home of
Volvo)
> Sorry about my e-mail address, but i'm trying to keep spam out.
> Remove "icke-reklam"and "invalid" and it works.
1. serial console: shutdown woes
2. Modem Hangs up in terminal sessions
4. php + snmp
5. CD-RW mounting woes in Mandrake 7.0 woe oh woe oh woe!
7. XF86 Config set-up woes & woes & woes
9. can't shutdown with 'shutdown'
10. How does one have KDE shutdown X after the shutdown sound is complete?
11. Cannot shutdown: shutdown already running (with kernel 1.2.13)
12. Shutdown not running rc.shutdown
13. Taskbar "shutdown" button lost its options for shutdown