Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
can't SU or login as root
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="rman" data-source="post: 43266" data-attributes="member: 23"><p>su and sudo are two different commands. su is switch user, some people call it super user. When you use su, you are that user until you log out. An example of su is:</p><p></p><p>su - rman -- I am logging in as the user rman.</p><p>su -- I am logging as the root user.</p><p></p><p>The sudo command is user to give a user limited root access, usually either for 5 minutes or the use of one command. Depending on how it is configured.</p><p></p><p>An example of sudo is:</p><p></p><p>sudo /etc/daily</p></blockquote><p></p>
[QUOTE="rman, post: 43266, member: 23"] su and sudo are two different commands. su is switch user, some people call it super user. When you use su, you are that user until you log out. An example of su is: su - rman -- I am logging in as the user rman. su -- I am logging as the root user. The sudo command is user to give a user limited root access, usually either for 5 minutes or the use of one command. Depending on how it is configured. An example of sudo is: sudo /etc/daily [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
can't SU or login as root
Top