Re: [newbie] Lost bash "Shutdown" command

2003-04-02 Thread Stephen Kuhn
On Wed, 2003-04-02 at 20:08, Raffaele Belardi wrote:
> Same here, had to copy /sbin/shutdown to /bin to make it visible to all 
> users, then chmod a+s /bin/shutdown to suid it. I'm using standard 
> security level, I wonder if in lower security level it's different.
> 
> raffaele
> 

It would be better to set the path in /etc/profile so that it's visible
to all users on the machine instead of copying the binary to another
directory. If the paths aren't set properly, other utilities, functions
and the likes could also be broken...so in fixing the system-wide path
statement, you avoid future problems...

-- 
Thu Apr  3 04:25:00 EST 2003
 04:25:00 up 12 days, 16:12,  3 users,  load average: 0.63, 0.28, 0.21
--
|____  | kuhn media australia|
|   / ,, /| |'-.   | http://kma.0catch.com   |
|  .\__/ || |   |  |=|
|   _ /  `._ \|_|_.-'  | stephen kuhn|
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED] |
|  |/ ._/  |"| |  email: [EMAIL PROTECTED]|
|  |'.  `\ | | |icq: 5483808 |
|  ;"""/ / | | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389|
|  '  `-`' " " | Berkeley, New South Wales, AU   |
--
 linux user:267497 * MDK 9.1 * PC/Mac/Linux/Networking/Consulting
 machine no:194239 * RH 7.3 * Sales - Service - Support - Tutor
--
** This messages was composed on a 100% Microsoft free computer **

 Professor: Doomsday device? Ah, now the ball's in Farnsworth's 
 court. I suppose I could part with one and still be feared. 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Lost bash "Shutdown" command

2003-04-02 Thread Stephen Kuhn
On Wed, 2003-04-02 at 19:33, Ken Rhodes wrote:
> Hello Everyone,
> 
> I have been using Mandrake since version 6.0 and have continually upgraded with no 
> real problems.
> 
> However, after recently upgrading to 9.1, when I use the bash command "shutdown" I 
> get a command not found error message!
> 
> Can anyone tell me what happened and why?  Or what is the best way to shutdown and 
> reboot my computer now? ( Formerly, I used "shutdown -r now" )
> 
> Regards,
> Kenneth Rhodes

It's apparently NOT in your path:

/sbin/shutdown
/sbin/reboot

-- 
Thu Apr  3 04:25:00 EST 2003
 04:25:00 up 12 days, 16:12,  3 users,  load average: 0.63, 0.28, 0.21
--
|____  | kuhn media australia|
|   / ,, /| |'-.   | http://kma.0catch.com   |
|  .\__/ || |   |  |=|
|   _ /  `._ \|_|_.-'  | stephen kuhn|
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED] |
|  |/ ._/  |"| |  email: [EMAIL PROTECTED]|
|  |'.  `\ | | |icq: 5483808 |
|  ;"""/ / | | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389|
|  '  `-`' " " | Berkeley, New South Wales, AU   |
--
 linux user:267497 * MDK 9.1 * PC/Mac/Linux/Networking/Consulting
 machine no:194239 * RH 7.3 * Sales - Service - Support - Tutor
--
** This messages was composed on a 100% Microsoft free computer **

 Professor: Doomsday device? Ah, now the ball's in Farnsworth's 
 court. I suppose I could part with one and still be feared. 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Lost bash "Shutdown" command

2003-04-02 Thread G_REEPER
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yours it not the only one.  I found the same problem on my install. It appears 
that it isn't limited to the console. I do have a extra question. If you have 
the X starting when it boots instead of logging into an account click reboot 
and see if your presented with choices or a blank menu.

G_REEPER

On Wednesday 02 April 2003 05:40 am, Anne Wilson wrote:
> On Wednesday 02 Apr 2003 12:01 pm, Ken Rhodes wrote:
> > Thanks to all who responded...
> >
> > logging in as superuser allows me to use shutdown.  I haven't tried the
> > other suggestions yet.
> >
> > Maybe I changed my security level/permissions or something when I
> > upgraded this time.
>
> I know that (under 9.0) there's a setting somewhere for 'allow users to
> shutdown'.  Sorry I can't remember where, but if you dig around you should
> find it.
>
> Anne
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+itI/6UWsagwteioRAgLnAJ9PfexnLH7VwvZDW5H20XAM/RlrpgCeP4kh
aD/nd/WUFm9Xc8NvgxjgIAU=
=n4U0
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Lost bash "Shutdown" command

2003-04-02 Thread Anne Wilson
On Wednesday 02 Apr 2003 12:01 pm, Ken Rhodes wrote:
> Thanks to all who responded...
>
> logging in as superuser allows me to use shutdown.  I haven't tried the
> other suggestions yet.
>
> Maybe I changed my security level/permissions or something when I upgraded
> this time.
>
I know that (under 9.0) there's a setting somewhere for 'allow users to 
shutdown'.  Sorry I can't remember where, but if you dig around you should 
find it.

Anne
-- 
Registered Linux User No.293302


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Lost bash "Shutdown" command

2003-04-02 Thread Ken Rhodes
Thanks to all who responded...

logging in as superuser allows me to use shutdown.  I haven't tried the other 
suggestions yet.

Maybe I changed my security level/permissions or something when I upgraded this time.

Regards,
Kenneth Rhodes
-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Lost bash "Shutdown" command

2003-04-02 Thread John Richard Smith
Ken Rhodes wrote:

Hello Everyone,

I have been using Mandrake since version 6.0 and have continually upgraded with no real problems.

However, after recently upgrading to 9.1, when I use the bash command "shutdown" I get a command not found error message!

Can anyone tell me what happened and why?  Or what is the best way to shutdown and reboot my computer now? ( Formerly, I used "shutdown -r now" )

Regards,
Kenneth Rhodes
 

Probably the alias is not set,
try,
/sbin/shutdown  -r now ,
or,
/sbin/shutdown -h
John

--
John Richard Smith
[EMAIL PROTECTED] 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Lost bash "Shutdown" command

2003-04-02 Thread Raffaele Belardi
Same here, had to copy /sbin/shutdown to /bin to make it visible to all 
users, then chmod a+s /bin/shutdown to suid it. I'm using standard 
security level, I wonder if in lower security level it's different.

raffaele

[EMAIL PROTECTED] wrote:
Hello Everyone,

I have been using Mandrake since version 6.0 and have continually upgraded with no real problems.

However, after recently upgrading to 9.1, when I use the bash command "shutdown" I get a command not found error message!

Can anyone tell me what happened and why?  Or what is the best way to shutdown and reboot my computer now? ( Formerly, I used "shutdown -r now" )

Regards,
Kenneth Rhodes
 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Lost bash "Shutdown" command

2003-04-02 Thread Anne Wilson
On Wednesday 02 Apr 2003 10:33 am, Ken Rhodes wrote:
> Hello Everyone,
>
> I have been using Mandrake since version 6.0 and have continually upgraded
> with no real problems.
>
> However, after recently upgrading to 9.1, when I use the bash command
> "shutdown" I get a command not found error message!
>
> Can anyone tell me what happened and why?  Or what is the best way to
> shutdown and reboot my computer now? ( Formerly, I used "shutdown -r now" )
>
> Regards,
> Kenneth Rhodes

Could it be that your system is set to allow only root to shutdown?

Anne
-- 
Registered Linux User No.293302


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Lost bash "Shutdown" command

2003-04-02 Thread Ken Rhodes
Hello Everyone,

I have been using Mandrake since version 6.0 and have continually upgraded with no 
real problems.

However, after recently upgrading to 9.1, when I use the bash command "shutdown" I get 
a command not found error message!

Can anyone tell me what happened and why?  Or what is the best way to shutdown and 
reboot my computer now? ( Formerly, I used "shutdown -r now" )

Regards,
Kenneth Rhodes

 
-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com