image
image

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

Reply
 
LinkBack Thread Tools
  #25  
Old May 9th, 2002, 02:23 PM
Registered User
 
Join Date: Jan 2002
Location: /Los Angeles, CA/Users/John aka "bossa nova"
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
bossa nova is on a distinguished road
Quote:
Originally posted by houchin

You do not want to enable the root password, because thsi will prevent a lot of security problems which rely on someone logging on as root (like through sendmail)
I think i may have enabled it. Is there a way I can check? If I have enalbed it, How can I disable root so that i can just temporily use the sudo command instead?
Thanks!
Reply With Quote
  #26  
Old May 9th, 2002, 02:31 PM
nkuvu's Avatar
Gone
 
Join Date: Mar 2002
Posts: 1,566
Thanks: 0
Thanked 1 Time in 1 Post
nkuvu is on a distinguished road
An easy way to check if root login is enabled. From the Terminal, type login. Enter root and the root password. If you get in, it's enabled.

Alternatively, use these slightly modified instructions:
Quote:
simX said:
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 "Disable Root User..." menu item.
At least, that's what my memory is telling me....

I guess I should stop giving advice when I'm not on a Mac to verify the steps. Unless, of course, it's right. Then it's "Of course! I knew it all along!"
Reply With Quote
  #27  
Old May 9th, 2002, 03:00 PM
Registered User
 
Join Date: Jan 2002
Location: /Los Angeles, CA/Users/John aka "bossa nova"
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
bossa nova is on a distinguished road
I think that's got it. I tried to "login" to root and got the message "root login refused on this terminal." So I suppose I can assume root access is not enable.
Reply With Quote
  #28  
Old May 9th, 2002, 03:05 PM
nkuvu's Avatar
Gone
 
Join Date: Mar 2002
Posts: 1,566
Thanks: 0
Thanked 1 Time in 1 Post
nkuvu is on a distinguished road
To be sure, check the Netinfo Manager. Do the authentication bit, as described above, then see if you have "Enable Root User" available. The menu item changes (IIRC, of course) when root login is enabled.
Reply With Quote
  #29  
Old May 9th, 2002, 03:08 PM
Registered User
 
Join Date: Jan 2002
Location: /Los Angeles, CA/Users/John aka "bossa nova"
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
bossa nova is on a distinguished road
Yes I did and "enable root user" was in the menu. And to safe I am not gonna enable that puppy! I can use 'sudo' for the rare occassions that I need super user access.
Reply With Quote
  #30  
Old May 13th, 2002, 03:09 AM
Registered User
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
XnetZero is on a distinguished road
No Need

As many others have pointed out there is no need to enable the root user. Just another security risk...

FYI--

There's a great utility that will tell you how to use the many different commands found in /bin, /sbin et all... It's called man. To use it type

man command_you_want_to_learn_about

and example would look like this:

man ls

You can even man man. In the cases no man file exists try this at the command line:

command_you_want_to_learn_about --help

Any how... enabling root is unecessary...
Reply With Quote
  #31  
Old May 13th, 2002, 08:58 AM
Registered User
 
Join Date: May 2002
Location: Montreal, Canada
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
apaquette is on a distinguished road
Every body are taking about how to enable root. Maybe I miss that info but how can we disable root user by the terminal? I know the way to do it by netinfo.

How can we login in root user with aqua without enabling root?
Reply With Quote
  #32  
Old May 19th, 2002, 06:05 AM
efoivx's Avatar
Registered User
 
Join Date: Aug 2001
Location: NYC
Posts: 145
Thanks: 0
Thanked 0 Times in 0 Posts
efoivx is on a distinguished road
Simple - Short answer

Open Terminal type the following.

sudo passwd root

it will first ask for your password to authenticate you are an admin
then it will ask for a password for root and then ask to verify the password you just entered.

The password is blind so you won't see it yped on the CLI

That being said... there is NO reason to need to enable root. ANything you might need to do as root can be done by using sudo before the command you are trying to use.

Cheers
Reply With Quote
Reply

Bookmarks

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 07:45 AM
HP Photosmart 1315 and USB Print Sharing zwheeloc Mac Classic System & Software 12 February 6th, 2003 09:20 PM
Apache 1.3.20, garbled apple_hfs_module jiblet Mac OS X System & Mac Software 23 September 21st, 2001 04:26 PM
Disk image mount problem aufreak Mac OS X System & Mac Software 13 May 10th, 2001 07:52 PM
HORIBLE EVIL BUG, Wrecks computer bfc Mac OS X System & Mac Software 12 October 22nd, 2000 03:52 PM


All times are GMT -5. The time now is 02:01 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.