Results 1 to 10 of 18
Hey ppl
I just found out that system can be shutdowned by shutdown -h now command and was wondering the difference between the it and poweroff and also can any ...
- 05-10-2009 #1
difference between poweroff and shutdown -h now
Hey ppl
I just found out that system can be shutdowned by shutdown -h now command and was wondering the difference between the it and poweroff and also can any one tell me how to pass a message in the shutdown command.
thanks for your replies.
- 05-10-2009 #2
y can only root use shutdown
this is confusing me , y can't a normal user use the shutdown command ???
- 05-10-2009 #3
opps
also how can i get to view the source code of shutdown as vi command can't open shutdown script( it opens but it's in unreadable format)
- 05-10-2009 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,093
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 05-10-2009 #5
Switch off power to shutdown is not a good idea ... it is better to go through a controlled shutdown which will write disk cache and unmount file systems.
A normal user is unable to shutdown a system without being given rights to do so (use sudo to do this) ... allowing a normal user logged on remotely to shutdown a server makes little sense.
If you are running a graphical login manager like kdm then there is normally an option to allow shutdown of system (assuming you have a desktop or laptop system) ... what distro are you using?
- 05-10-2009 #6
I am using red hat 5
I guess i understood the use( plz correct me If I am wrong)
shutdown - is for shutting down the server
poweroff- is for shutting down the client
- 05-10-2009 #7
Whats difference does it make to security if I can shutdown/reboot from graphical menu but cannot use the shutdown command from terminal on the same system?
Also, is there a difference between shutdown and halt? Coz, in FreeBSD when I triedIt says system halted. Enter reboot to restart the system. It stays in the root prompt.Code:shutdown -h now
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
- 05-10-2009 #8A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
- 05-10-2009 #9
Sorry I had misunderstood the question ...
but man shutdown and man poweroff show differences
from man pagesand from halt man pageshutdown brings the system down in a secure way.
I always use shutdown ...-f Force halt or reboot, don't call shutdown(
.
Allowing any user to execute shutdown, poweroff or halt would cause problems ... I think kdm limits shutdown option to local users only, and regular users are unable to start kdm.
- 05-10-2009 #10


Reply With Quote

