6253 F_GETLK doesn't always return lock owner
[illumos-gate.git] / usr / src / man / man1m / sulogin.1m
blobd42f09a264f53ad05983bcec0e546269f484cfd4
1 '\" te
2 .\"  Copyright 1989 AT&T  Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH SULOGIN 1M "Aug 21, 2008"
7 .SH NAME
8 sulogin \- access single-user mode
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBsulogin\fR
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 The \fBsulogin\fR utility is automatically invoked by \fBinit\fR when the
19 system is first started. It prompts the user to type a user name and password
20 to enter system maintenance mode (single-user mode) or to type \fBEOF\fR
21 (typically CTRL-D) for normal startup (multi-user mode). The user should never
22 directly invoke \fBsulogin\fR. The user must have the
23 \fBsolaris.system.maintenance\fR authorization.
24 .sp
25 .LP
26 The \fBsulogin\fR utility can prompt the user to enter the root password on a
27 variable number of serial console devices, in addition to the traditional
28 console device. See \fBconsadm\fR(1M) and \fBmsglog\fR(7D) for a description of
29 how to configure a serial device to display the single-user login prompt.
30 .SH FILES
31 .sp
32 .ne 2
33 .na
34 \fB\fB/etc/default/sulogin\fR\fR
35 .ad
36 .sp .6
37 .RS 4n
38 Default value can be set for the following flag:
39 .sp
40 .ne 2
41 .na
42 \fBPASSREQ\fR
43 .ad
44 .sp .6
45 .RS 4n
46 Determines if login requires a password. Default is \fBPASSREQ=YES\fR.
47 .RE
49 .RE
51 .sp
52 .ne 2
53 .na
54 \fB\fB/etc/default/login\fR\fR
55 .ad
56 .sp .6
57 .RS 4n
58 Default value can be set for the following flag:
59 .sp
60 .ne 2
61 .na
62 \fB\fBSLEEPTIME\fR\fR
63 .ad
64 .sp .6
65 .RS 4n
66 If present, sets the number of seconds to wait before login failure is printed
67 to the screen and another login attempt is allowed. Default is \fB4\fR seconds.
68 Minimum is \fB0\fR seconds. Maximum is \fB5\fR seconds.
69 .sp
70 Both \fBsu\fR(1M) and \fBlogin\fR(1) are affected by the value of
71 \fBSLEEPTIME\fR.
72 .RE
74 .RE
76 .SH SEE ALSO
77 .sp
78 .LP
79 \fBauths\fR(1), \fBlogin\fR(1), \fBconsadm\fR(1M), \fBinit\fR(1M),
80 \fBsu\fR(1M), \fBattributes\fR(5), \fBmsglog\fR(7D)
81 .SH NOTES
82 .sp
83 .LP
84 By default, the root user has all authorizations.
85 .sp
86 .LP
87 Granting the \fBsolaris.system.maintenance\fR authorization to the Console User
88 Rights Profile may have an undesirable side effect of granting the currently
89 logged in user maintenance mode access. The \fBsolaris.system.maintenance\fR
90 authorization should be directly granted to appropriate users rather than
91 through the Console User Rights Profile.