Bug 117388

Summary: Invoking shutdown under user account failed
Product: [Retired] Red Hat Linux Reporter: Andrew Martynov <andrewm>
Component: rhl-gsgAssignee: John Ha <jha>
Status: CLOSED WONTFIX QA Contact: John Ha <jha>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: adstrong
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: i686   
OS: Linux   
URL: http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/getting-started-guide/s1-q-and-a-shutdown.html
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-03 03:28:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Martynov 2004-03-03 15:28:17 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
Chapter 13: Shutting Down
s1-q-and-a-shutdown.html

Documentation said:
From the shell prompt: type shutdown -r now or shutdown -h now. The -
r means "reboot" and the -h means "halt." You will be required to 
enter your password before these commands are executed

After invoking under user account 
$/sbin/shutdown -h now
following message appear "shutdown: must be root"

This book is also available as RHEL AS 2.1 documentation and it 
should be corrected.



Version-Release number of selected component (if applicable):
site online documentation

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL AS 2.1 as default Advanced Server option
2. switch to runlevel 5
3. login as user (not root)
4. open terminal (for example, xterm)
4. run "/sbin/shutdown -h now"

    

Actual Results:  error message "shutdown: must be root" appear

Expected Results:  System shutdown

Additional info: