![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| switching user from root to ordinary user | sasia | Shell Programming and Scripting | 3 | 01-25-2008 10:25 PM |
| Su to user from root | nitin | Shell Programming and Scripting | 3 | 10-25-2006 04:21 AM |
| Other than root user .Normal user is unable to create files | mallesh | UNIX for Advanced & Expert Users | 1 | 06-22-2005 01:18 PM |
| root user | hassan2 | UNIX for Advanced & Expert Users | 1 | 05-29-2002 03:15 PM |
| Using telnet client from MacOSX's command line terminal | tylerl | UNIX for Dummies Questions & Answers | 2 | 07-15-2001 11:05 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Root user in MacOSX
Hello, Do you guys know how does the root user works in this system?
from the terminal i try to su to root, and i thought the password was the same as the macosx password, at the /etc/passwd file the passwd field appears as *, so it's system bussines only, is there a way to become root? i thought since i was the only user registered in the system i was kind of like root... guess not thanks. |
|
|||||
|
Quote:
You MUST edit this file with 'visudo' AS root, to establish how you want sudo to behave. So, first go HERE in your browser: http://www.almaren.org/tmp/sudoers.sample Then, with the file in your browser as a guide enter (in a terminal window): 'su -' <return> visudo <return> You will then have an *example* reference 'sudoers' file in your browser, and be editing the 'sudoers' file in a terminal window. The sample 'sudoers' file, in your browser, will help you set up your 'sudoers' file that you are editing. Last edited by dsbeerf; 01-13-2006 at 05:51 PM.. |
|
||||
|
It should be much simpler than that. If you are designated as an admin for that system, type: sudo [whatever command you wanted to use]
You'll be presented with a prompt for a password. Type "your" password, not root's, not the the File Vault password, but "your" password. If your account is "allowed to administer this computer" then you are automagically added to the sudoers file. Which version of OS X are you using? |
|
|||||
|
Quote:
Sorry, my mistake. (Hey -- THANKS !!) --- |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|