Files
oldlinux-files/Minix/2.0.0/wwwman/man1/su.1.html
2024-02-19 00:21:39 -05:00

72 lines
1.2 KiB
HTML

<HTML>
<HEAD>
<TITLE>su(1)</TITLE>
</HEAD>
<BODY>
<H1>su(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
su - temporarily log in as superuser or another user
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>su</STRONG> [<EM>name</EM>]
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>su</STRONG> # Become superuser
<STRONG>su</STRONG> <STRONG>ast</STRONG> # Become <EM>ast</EM>
</PRE>
<H2>DESCRIPTION</H2><PRE>
<EM>Su</EM> can be used to temporarily login as another user. It prompts for the
superuser password. If the correct password is entered, <EM>su</EM> creates a
shell with the desired uid. If no name is specified, <EM>root</EM> is assumed.
To exit the temporary shell, type CTRL-D. When memory is tight, it is
better to become superuser by logging out and then logging in again as
<EM>root</EM>, rather than using <EM>su</EM> since the latter creates an extra shell in
memory. Any user with a zero group id need not type a password. This
makes life easier for the system administrator.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man1/login.1.html">login(1)</A></STRONG>.
</PRE>
</BODY>
</HTML>