Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

su in osx

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Other OS
View previous topic :: View next topic  
Author Message
pins
LXF regular


Joined: Mon Jun 27, 2005 8:24 pm
Posts: 154
Location: Haggerston

PostPosted: Wed Feb 01, 2006 7:06 am    Post subject: su in osx Reply with quote

got hold of a mac with osx on (someone was going to bin it!). I know that the way that apple have it setup up is that theres not really a root user (they refer to root as being the system in the dox I read), but I opened a terminal and typed su and it asked for a password. I tried mine, I tried that of the computers previous owner, to no avail. Any ideas, anyone?
Back to top
View user's profile Send private message
pins
LXF regular


Joined: Mon Jun 27, 2005 8:24 pm
Posts: 154
Location: Haggerston

PostPosted: Wed Feb 01, 2006 7:14 am    Post subject: Reply with quote

ok. answered my own question: for those that may be interested:
Quote:

The root user is enabled in the NetInfo Manager utility, found in
Applications/Utilities. After launching NetInfo Manager, choose
"Authenticate..." from the Security menu, and enter an administrator's
username and password. (The first user created on a Mac OS X
installation has administrator privileges by default.) Then, select
"Enable Root User", also from the Security menu. You will be prompted
to set a root password, which may be the same as or different from
your own password, at your preference
Back to top
View user's profile Send private message
Lejon
LXF regular


Joined: Wed Oct 19, 2005 8:24 pm
Posts: 150
Location: Sweden

PostPosted: Wed Feb 01, 2006 8:51 pm    Post subject: Reply with quote

*shivers*
_________________
I am the one you thought I was! Just not the way, you expected...
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Wed Feb 01, 2006 9:51 pm    Post subject: Reply with quote

Quote:
...The first user created on a Mac OS X
installation has administrator privileges by default...


It's not quite the same as Administrator privileges in Windows or root privilege in Linux/Unix... rather, the first user is automatically added to the sudo list. When you want to do anything administrator-ish you are prompted for the username and password of an administrator - even if you are logged in as that user at the time. If you want a root terminal you can open a normal terminal and enter the command
Code:
sudo bash

and you're prompted for your password just like in Ubuntu (or other Linux systems).

So they do try to make it difficult for you to bork your system Smile
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Other OS All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast