1sulogin(1M) System Administration Commands sulogin(1M)
2
3
4
6 sulogin - access single-user mode
7
9 sulogin
10
11
13 The sulogin utility is automatically invoked by init when the system is
14 first started. It prompts the user to type a user name and password to
15 enter system maintenance mode (single-user mode) or to type EOF (typi‐
16 cally CTRL-D) for normal startup (multi-user mode). The user should
17 never directly invoke sulogin. The user must have the solaris.sys‐
18 tem.maintenance authorization.
19
20
21 The sulogin utility can prompt the user to enter the root password on a
22 variable number of serial console devices, in addition to the tradi‐
23 tional console device. See consadm(1M) and msglog(7D) for a description
24 of how to configure a serial device to display the single-user login
25 prompt.
26
28 /etc/default/sulogin
29
30 Default value can be set for the following flag:
31
32 PASSREQ
33
34 Determines if login requires a password. Default is PASS‐
35 REQ=YES.
36
37
38
39 /etc/default/login
40
41 Default value can be set for the following flag:
42
43 SLEEPTIME
44
45 If present, sets the number of seconds to wait before login
46 failure is printed to the screen and another login attempt is
47 allowed. Default is 4 seconds. Minimum is 0 seconds. Maximum is
48 5 seconds.
49
50 Both su(1M) and login(1) are affected by the value of SLEEP‐
51 TIME.
52
53
54
56 See attributes(5) for descriptions of the following attributes:
57
58
59
60
61 ┌─────────────────────────────┬─────────────────────────────┐
62 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
63 ├─────────────────────────────┼─────────────────────────────┤
64 │Availability │SUNWcsr │
65 └─────────────────────────────┴─────────────────────────────┘
66
68 auths(1), login(1), consadm(1M), init(1M), su(1M), attributes(5),
69 msglog(7D)
70
72 By default, the root user has all authorizations.
73
74
75 Granting the solaris.system.maintenance authorization to the Console
76 User Rights Profile may have an undesirable side effect of granting the
77 currently logged in user maintenance mode access. The solaris.sys‐
78 tem.maintenance authorization should be directly granted to appropriate
79 users rather than through the Console User Rights Profile.
80
81
82
83SunOS 5.11 21 Aug 2008 sulogin(1M)