Super user

Joined
Mar 10, 2004
Messages
126
Reaction score
0
Points
16
hey, when I try a shutdown comand in the terminal it tells me that I am not the super user. but I am using the Admin account in my computer
Isn't the same account?
What is the password for the root account?
I tried 'su root' but the password for the Admin account didn't work
I don't remember any other password, should I? perhaps from when I started the computer for the first time?
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
Normally the root (super user) account is not enabled. Any user account should be able to shutdown the computer, unless that function is disabled.
 
Joined
Nov 4, 2003
Messages
654
Reaction score
11
Points
18
Location
Southern Indiana
Your Mac's Specs
Mac Pro Quad Xeon 2.66GHz 3GB RAM, G4 Quicksilver w/Sonnet 1GHz Encore ST, 1ghz G4 Powerbook
alejandrico said:
What is the password for the root account?
I tried 'su root' but the password for the Admin account didn't work
I don't remember any other password, should I? perhaps from when I started the computer for the first time?

From Mac Help

The root user, sometimes called the superuser, is a special user account in Mac OS X that has read and write privileges to all areas of the file system. The root user can move and delete any file in the system, including system files not available to any other user. Because it's easy to damage the computer by moving or deleting some files, use the root account with extreme caution.

By default the root account is not active.

To enable the root user:

1. Open NetInfo Manager, located in Applications > Utilities.
2. Choose Security > Enable Root User and type a password for the root account. You may need to type an administrator password to make these changes.
3. Choose Apple menu > Log Out.
4. Choose Other in the Login window, type root in the Name field, and the root password in the Password field.

The root user should only be used for specific administration or monitoring tasks. After completing a task as the root user, log out of Mac OS X and log back in using a normal or administrator user account.

Disable root access if you do not use it often.
 
OP
A
Joined
Mar 10, 2004
Messages
126
Reaction score
0
Points
16
Well, acording to the shutdownn documentation, the command is for super users
So, at least I learned how to enable the superuser and finally use shutdown
Is there any other way to shutdown automatically the computer?
How about turn it on?
By the way now with the superuser enabled the login window shows a others account, I guess it is to login as root
 
Joined
Nov 4, 2003
Messages
654
Reaction score
11
Points
18
Location
Southern Indiana
Your Mac's Specs
Mac Pro Quad Xeon 2.66GHz 3GB RAM, G4 Quicksilver w/Sonnet 1GHz Encore ST, 1ghz G4 Powerbook
alejandrico said:
Is there any other way to shutdown automatically the computer?
How about turn it on?

Start Up & Shut Down
System Preferences/Energy Saver/Schedule
 
OP
A
Joined
Mar 10, 2004
Messages
126
Reaction score
0
Points
16
Great!!! that is better than running shutdown in a terminal window

Thank you

(I probably should have started for what I wanted to do)
 
Joined
Mar 9, 2004
Messages
2,860
Reaction score
21
Points
38
Location
Miami FL
Your Mac's Specs
G4 1Ghz OS X 10.4.7
su to root in Linux is usually by sudo in Max OS. Here in terminal it's sudo *command* (prompt for admin password)
 
Joined
Jun 11, 2003
Messages
4,915
Reaction score
68
Points
48
Location
Mount Vernon, WA
Your Mac's Specs
MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
But you can still su to root in Mac OS X as long as it is enabled like mentioned above. The xserves that I adminster I su - all the time :)
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
su is the same in Linux as it is in OS X. sudo is used to enable root access for a short period of time or for one command.
 
V

viz

Guest
I have been told that it is a good idea to set up the root account (with a solid password), in case someone else gets into your Mac without you wanting...

/viz
 
Joined
Mar 9, 2004
Messages
2,860
Reaction score
21
Points
38
Location
Miami FL
Your Mac's Specs
G4 1Ghz OS X 10.4.7
Root user is not password prompted for serious changes; please never be on line as root :alien:
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top