Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 29th January 2013, 11:34 PM
jenaniston's Avatar
jenaniston Offline
Registered User
 
Join Date: Dec 2009
Location: Malibu, California
Posts: 318
linuxrekonq
Re: shutdown command

Quote:
Originally Posted by Rusher View Post
I've just confirmed that, too. It fits my previous post.

Is there anyone that can easily check whether shutdown -h over SSH requires root without other users being logged in? It is only confirmation, but it's something.
So . . . my Fedora 15 just gave me the
Code:
Must be root
message,
even though no other users/terminals.
but changing the username to have admin privileges should be all I need to shutdown -h now
without being root . . . I think.
Reply With Quote
  #17  
Old 29th January 2013, 11:52 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,097
linuxfirefox
Re: shutdown command

Using the "shutdown" by itself (no options or parameters) always seems to give the "Must be root" message.

When that happens try "shutdown -h now" (with options). F18 allows this even when "shutdown" does not work... as long as there are no other users.

Try it on F17.
Reply With Quote
  #18  
Old 30th January 2013, 01:33 AM
jenaniston's Avatar
jenaniston Offline
Registered User
 
Join Date: Dec 2009
Location: Malibu, California
Posts: 318
linuxchrome
Re: shutdown command

Quote:
Originally Posted by jpollard View Post
Using the "shutdown" by itself (no options or parameters) always seems to give the "Must be root" message.

When that happens try "shutdown -h now" (with options). F18 allows this even when "shutdown" does not work... as long as there are no other users.

Try it on F17.
I only use "shutdown -h now" as the way to cleanly turn off especially to avoid mounting/unmounting manually - USB drives are ok with shutdown -h now

My point exactly is that there may be distro differences at least between F15 and F18 . . .
it was my experience with F15 that always got me to switch user to root before logging off -
F17 and F18 we have seemed to verify it is a matter of having another user somewhere on the field -
typically me but in a root terminal on a multiple desktop.
Reply With Quote
  #19  
Old 30th January 2013, 02:19 AM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,097
linuxfirefox
Re: shutdown command

Shutdown should be a privileged operation though.

Any login considered local can shutdown the system if no one else is logged in - just give options.
Reply With Quote
Reply

Tags
command, shutdown

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
run command before shutdown jimp Using Fedora 6 14th June 2007 02:26 AM
shutdown command not found hotfixus Using Fedora 4 29th November 2006 12:39 PM
run command on shutdown or reboot lariamat Using Fedora 3 21st June 2006 08:00 AM
Shutdown Command Script ontguy Using Fedora 5 26th May 2004 07:38 PM


Current GMT-time: 07:24 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat