Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
XHPInputISO7sub(3x)
map keysyms into ISO 7-bit substitution characters
autochanger(7)
s-1SCSIs0 interfaces for medium changer device and magneto-optical autochanger surface device
blmode(7)
terminal block mode interface
cent(7)
Centronics-compatible interface
clone(7)
opens a major and minor device pair on a STREAMS driver
console(7), systty(7), syscon(7)
system console interface
ddfa(7)
Data Communications and Terminal Controller (DTC) Device File Access (DDFA) software
diag0(7)
diagnostic interface to HP-PB I/O subsystem
diag1(7)
diagnostic interface to the PCI I/O subsystem
diag2(7)
interface for diagnostic logging and interface to processors
disk(7)
direct disk access
floppy(7)
direct flexible or ``floppy'' disk access
framebuf(7)
information for raster frame-buffer devices
gang_sched(7)
Gang Scheduler
hil(7)
s-1HP-HILs0 device driver
hilkbd(7)
HP-HIL mapped keyboard driver
intro(7)
introduction to device special files
iomap(7)
physical I/O address mapping
kmem(7)
perform I/O on kernel memory based on symbol name. MAN_SectionHead (SH)
lan(7)
network I/O card access information
ldterm(7)
standard STREAMS terminal line discipline module
lp(7)
line printer
lvm(7)
Logical Volume Manager (LVM)
mem(7)
main memory
modem(7)
asynchronous serial modem line control
mt(7)
magnetic tape interface and controls for stape and tape2
nfs(7), NFS(7)
network file system
null(7)
null file
pckt(7)
Packet Mode module for STREAMS pty (pseudo-terminal)
pfto(7)
Powerfail Timeout
poll(7)
monitor I/O conditions on multiple file descriptors
ps2(7), ps2kbd(7), ps2mouse(7)
PS/2 keyboard/mouse device driver and files
ptem(7)
STREAMS pty (pesudo-terminal) Emulation module
ptm(7)
STREAMS master pty (pseudo-terminal) driver
pts(7)
STREAMS slave pty (pseudo-terminal) driver
pty(7)
pseudo terminal driver
routing(7)
system support for local network packet routing
sad(7)
STREAMS Administrative Driver
scsi(7)
Small Computer System Interface device drivers
scsi_ctl(7)
s-1SCSIs0 pass-through driver
scsi_disk(7)
SCSI direct access device driver (sdisk)
scsi_tape(7)
s-1SCSIs0 sequential access (tape) device driver
sioc_io(7)
SCSI pass-through interface
socket(7)
interprocess communications
streamio(7)
STREAMS ioctl commands
strlog(7)
STREAMS log driver
stty(7)
terminal interface for Version 6/PWB compatibility
su(1m), *Lsu*O(1m)
Substitutes user ID temporarily def,8628,R1.1,command platform-specific This command is platform specific. Consult your local operating system documentation for information on how to use your version of the *Lsu*O command. def,8628,R1.1,command platform-specific .. .SH SYNOPSIS .. .sS .. *Lsu*O .. *O[*L-K*O] .. *O[*L-f*O] .. *O[*L-l*O] .. *O[*L-m*O] .. *O[*Vlogin*O] .. .sE .. .SH OPTIONS .. .VL 1i .. .LI *L-K*O .. Disables Kerberos authentication. .. .LI *L-f*O .. Prevents *Lcsh(1)*O from executing the *L.cshrc*O file. .. .LI *L-l*O .. Simulates a full login. The environment is discarded except for .. *LHOME*O, *LSHELL*O, *LPATH*O, *LTERM*O, and *LUSER*O. .. *LHOME*O and *LSHELL*O are set to the target login's login .. shell and home directory. The *Lsu*O command changes the current .. directory to the target login's home directory. .. *LUSER*O is set to the target login. .. *LPATH*O is set to *L/bin:/usr/bin*O. .. *LTERM*O is imported from your current environment. .. This option can not be specified with the .. *L-m*O option. They are mutually exclusive. .. .LI *L-m*O .. Leaves the environment unmodified. .. The invoked shell is your login shell, and no directory changes are made. .. As a security precaution, if the target user's shell is a nonstandard .. shell (as defined by *Lgetusershell(3)*O) and the caller's real UNIX ID is .. nonzero, *Lsu*O will fail. This option cannot be specified with the .. *L-l*O option. They are mutually exclusive. .. .LE .. .SH ARGUMENTS .. .VL 1i .. .LI *Vlogin*O .. The target user ID. If *Vlogin*O is not specified, the root user ID is .. assumed. Note that only users in group 0 (normally *Lwheel*O) .. can use *Lsu*O to become root. .. .PP .. By default (unless the prompt is reset by a startup file), the superuser .. prompt is set to *L#*O (number sign) to remind one of its awesome power. .. .LE .. .SH DESCRIPTION .. The *Lsu*O command lets you assume the identity of a different user. .. Note that the funtionality of the *Lsu*O command as described in this .. reference page may change, depending on the platform on which you .. are running the command. .. .PP .. The *Lsu*O command .. requests the password for *Vlogin*O or, if *Vlogin*O is .. not supplied, the password for root. .. If the correct password is supplied, *Lsu*O switches to .. that user and group ID after obtaining a ticket-granting ticket. .. A shell is then invoked with the real and effective person and .. group UNIX IDs of the new user. If authentication is disabled or not .. available, *Lsu*O uses the local *L/etc/passwd*O file for authentication. .. .PP .. If the *Lsu*O command .. is executed by root, no password is requested and a shell .. with the appropriate user ID is invoked; no additional Kerberos tickets .. are obtained. .. .PP .. Unless you specify the *L-l*O or *L-m*O option, when *Lsu*O is invoked .. the user environment is unmodified with the exception of .. the following: ... ML .. .LI .. *LHOME*O and *LSHELL*O are set to the target login's default values. The .. current directory is changed to the target's login directory, and .. the target login's shell is invoked. .. .LI .. *LUSER*O is set to the target login value, unless the target login has a user .. ID of 0, in which case it is unmodified. The invoked shell is the target .. login's. This is the traditional behavior of *Lsu*O. .. .LE .. .SH RELATED INFORMATION .. .PP .. Commands: .. *Lcsh(1)*O, *Llogin(1)*O, *Lsh(1)*O, .. *Lkinit(1m)*O, *Lkerberos(1)*O, .. *Lpasswd(5)*O, *Lgroup(5)*O, *Lenviron(7)*O
tels(7), telm(7)
STREAMS Telnet slave (pseudo-terminal) driver, STREAMS Telnet master driver (used by telnetd only), respectively
termio(7), termios(7)
general terminal interface
termiox(7)
extended general terminal interface
timod(7)
STREAMS module for converting ioctl() calls into Transport Interface messages
tirdwr(7)
STREAMS module for reads and writes by Transport Interface users
tty(7)
controlling terminal interface
vxconfig(7)
volume management configuration device
vxdmp(7)
Volume Manager multipathing disk devices
vxfsio(7)
VxFS file system control functions
xopen_networking(7)
X/Open Networking Interfaces
zero(7)
zero file
home | help