image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
Thread Tools
  #1  
Old December 21st, 2001, 05:53 PM
Mac fan
 
Join Date: May 2001
Location: Argentina
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
alito is on a distinguished road
Root

Can someone tell me how can i login as a root administrator?
thanxs
Reply With Quote
  #2  
Old December 21st, 2001, 06:30 PM
simX's Avatar
Unofficial Mac Genius
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 2,183
Thanks: 0
Thanked 0 Times in 0 Posts
simX is on a distinguished road
Enable it!

You need to enable it first, for obvious security reasons. I would recommend against this -- if you need to do something that can be done via the Terminal, you can get temporary root access by using the "sudo" command.

But if you REALLY want to login as root, here's how to enable it and login as root:

1. Open the NetInfo Manager application in the /Applications/Utilities folder.

2. Go to the Domain menu, then drag down to the Security submenu, and choose "Authenticate...". Put in an administrator login and password and press return or the "OK" button.

3. Go again to the Domain menu, again to the Security submenu, and then drag down to the "Enable Root User..." menu item.

4. You probably won't have put in a root user password yet. It will prompt you to provide a root user password and verify it. Do so.

5. Root user is now enabled. Now just logout from the Apple menu, and then at the login screen, use the login name "root" and provide the password you just set.

This will log you in as the root user. Note that you can do ANYTHING when logged in as root, including deleting essential files. Proceed with caution.
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/

450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod

"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.

"You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET .

"The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown
Reply With Quote
  #3  
Old December 21st, 2001, 06:45 PM
Prescriptivist
 
Join Date: Sep 2000
Location: Behind you! Duck!
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
onan is on a distinguished road
Or...

Or, if you're into hot hot Terminal action, just:

sudo passwd root

Which basically ends up doing the same thing. Use whichever is more comfortable for you.
__________________
The correct plural of forum is fora. _Please_ fix the painfully illiterate references to 'forums'.
Reply With Quote
  #4  
Old December 21st, 2001, 08:40 PM
simX's Avatar
Unofficial Mac Genius
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 2,183
Thanks: 0
Thanked 0 Times in 0 Posts
simX is on a distinguished road
sudo only gives temporary root access, right?

(See title -- 'nuf said. What's with the "passwd" entry, though? I thought you could just do "sudo whateveryouwanttodohere" and you could get temporary root access.)
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/

450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod

"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.

"You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET .

"The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown
Reply With Quote
  #5  
Old December 21st, 2001, 08:48 PM
Captain Code's Avatar
Moderator
 
Join Date: Aug 2001
Location: Ontario, Canada
Posts: 3,107
Thanks: 0
Thanked 0 Times in 0 Posts
Captain Code will become famous soon enough
You can either do:
sudo mycommand
and it will prompt you for your password
password:

or you can do
sudo mycommand password
Reply With Quote
  #6  
Old December 21st, 2001, 10:09 PM
simX's Avatar
Unofficial Mac Genius
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 2,183
Thanks: 0
Thanked 0 Times in 0 Posts
simX is on a distinguished road
No you can't...

I just tried the command format "sudo mycommand password" and it still asks for the password and interprets 'password' as the target or option for mycommand. I don't believe UNIX would allow the password to be shown in full text, anyway.
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/

450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod

"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.

"You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET .

"The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown
Reply With Quote
  #7  
Old December 21st, 2001, 11:49 PM
Captain Code's Avatar
Moderator
 
Join Date: Aug 2001
Location: Ontario, Canada
Posts: 3,107
Thanks: 0
Thanked 0 Times in 0 Posts
Captain Code will become famous soon enough
Oh, well, maybe I was wrong, I thought that would work.
Reply With Quote
  #8  
Old December 22nd, 2001, 01:23 AM
Mac fan
 
Join Date: May 2001
Location: Argentina
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
alito is on a distinguished road
THANxs

Thanxs to allllllll
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A bit of nostalgia: A Salute to Mac OS X simX Apple News, Rumors & Discussion 31 March 24th, 2005 06:45 AM
HP Photosmart 1315 and USB Print Sharing zwheeloc Mac Classic System & Software 12 February 6th, 2003 08:20 PM
Apache 1.3.20, garbled apple_hfs_module jiblet Mac OS X System & Mac Software 23 September 21st, 2001 03:26 PM
Disk image mount problem aufreak Mac OS X System & Mac Software 13 May 10th, 2001 06:52 PM
HORIBLE EVIL BUG, Wrecks computer bfc Mac OS X System & Mac Software 12 October 22nd, 2000 02:52 PM


All times are GMT -5. The time now is 05:44 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.