![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| switching user from root to ordinary user | sasia | Shell Programming and Scripting | 3 | 01-25-2008 06:25 PM |
| Su to user from root | nitin | Shell Programming and Scripting | 3 | 10-25-2006 12:21 AM |
| Other than root user .Normal user is unable to create files | mallesh | UNIX for Advanced & Expert Users | 1 | 06-22-2005 09:18 AM |
| root user | hassan2 | UNIX for Advanced & Expert Users | 1 | 05-29-2002 11:15 AM |
| Using telnet client from MacOSX's command line terminal | tylerl | UNIX for Dummies Questions & Answers | 2 | 07-15-2001 07:05 AM |
|
|
Submit Tools | LinkBack | Thread Tools | 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. |
| Forum Sponsor | ||
|
|
|
||||
|
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 01: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 !!) --- |
||||
| Google The UNIX and Linux Forums |