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
Apple Computing Products:
macOS - Operating System
su password
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="witeshark" data-source="post: 110309" data-attributes="member: 3865"><p><span style="color: darkred">SUDO = super user do <em>operation</em> SU = switch user <em>need user switch to</em> name to procede SU:</span></p><p><span style="color: darkred">NAME</span></p><p><span style="color: darkred"> su - substitute user identity</span></p><p><span style="color: darkred"></span></p><p><span style="color: darkred">SYNOPSIS</span></p><p><span style="color: darkred"> su [-flm] [login] [-c shell arguments]</span></p><p><span style="color: darkred"></span></p><p><span style="color: darkred">DESCRIPTION</span></p><p><span style="color: darkred"> su requests the password for login and switches to that user and group ID</span></p><p><span style="color: darkred"> after obtaining proper authentication. A shell is then executed, and any</span></p><p><span style="color: darkred"> additional shell arguments after the login name are passed to the shell.</span></p><p><span style="color: darkred"> If su is executed by root, no password is requested and a shell with the</span></p><p><span style="color: darkred"> appropriate user ID is executed.</span></p><p><span style="color: darkred"></span></p><p><span style="color: darkred"> The options are as follows:</span></p><p><span style="color: darkred"></span></p><p><span style="color: darkred"> -c Invoke the following command in a subshell as the specified user.</span></p><p><span style="color: darkred"></span></p><p><span style="color: darkred"> -f If the invoked shell is csh(1), this option prevents it from</span></p><p><span style="color: darkred"> reading the ``.cshrc'' file.</span></p><p><span style="color: darkred"></span></p><p><span style="color: darkred"> -l Simulate a full login. The environment is discarded except for</span></p><p><span style="color: darkred">:</span></p></blockquote><p></p>
[QUOTE="witeshark, post: 110309, member: 3865"] [color=darkred]SUDO = super user do [i]operation[/i] SU = switch user [i]need user switch to[/i] name to procede SU: NAME su - substitute user identity SYNOPSIS su [-flm] [login] [-c shell arguments] DESCRIPTION su requests the password for login and switches to that user and group ID after obtaining proper authentication. A shell is then executed, and any additional shell arguments after the login name are passed to the shell. If su is executed by root, no password is requested and a shell with the appropriate user ID is executed. The options are as follows: -c Invoke the following command in a subshell as the specified user. -f If the invoked shell is csh(1), this option prevents it from reading the ``.cshrc'' file. -l Simulate a full login. The environment is discarded except for :[/color] [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
su password
Top