Magellan Linux

Contents of /trunk/mkinitrd-magellan/busybox/loginutils/Config.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File size: 5550 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 menu "Login/Password Management Utilities"
7
8 config FEATURE_SHADOWPASSWDS
9 bool "Support for shadow passwords"
10 default n
11 help
12 Build support for shadow password in /etc/shadow. This file is only
13 readable by root and thus the encrypted passwords are no longer
14 publicly readable.
15
16 config USE_BB_SHADOW
17 bool " Use busybox shadow password functions"
18 default y
19 depends on USE_BB_PWD_GRP && FEATURE_SHADOWPASSWDS
20 help
21 If you leave this disabled, busybox will use the system's shadow
22 password handling functions. And if you are using the GNU C library
23 (glibc), you will then need to install the /etc/nsswitch.conf
24 configuration file and the required /lib/libnss_* libraries in
25 order for the shadow password functions to work. This generally
26 makes your embedded system quite a bit larger.
27
28 Enabling this option will cause busybox to directly access the
29 system's /etc/shadow file when handling shadow passwords. This
30 makes your system smaller and I will get fewer emails asking about
31 how glibc NSS works). When this option is enabled, you will not be
32 able to use PAM to access shadow passwords from remote LDAP
33 password servers and whatnot.
34
35 config USE_BB_PWD_GRP
36 bool "Use internal password and group functions rather than system functions"
37 default n
38 help
39 If you leave this disabled, busybox will use the system's password
40 and group functions. And if you are using the GNU C library
41 (glibc), you will then need to install the /etc/nsswitch.conf
42 configuration file and the required /lib/libnss_* libraries in
43 order for the password and group functions to work. This generally
44 makes your embedded system quite a bit larger.
45
46 Enabling this option will cause busybox to directly access the
47 system's /etc/password, /etc/group files (and your system will be
48 smaller, and I will get fewer emails asking about how glibc NSS
49 works). When this option is enabled, you will not be able to use
50 PAM to access remote LDAP password servers and whatnot. And if you
51 want hostname resolution to work with glibc, you still need the
52 /lib/libnss_* libraries.
53
54 If you enable this option, it will add about 1.5k to busybox.
55
56 config ADDGROUP
57 bool "addgroup"
58 default n
59 help
60 Utility for creating a new group account.
61
62 config DELGROUP
63 bool "delgroup"
64 default n
65 help
66 Utility for deleting a group account.
67
68 config ADDUSER
69 bool "adduser"
70 default n
71 help
72 Utility for creating a new user account.
73
74 config DELUSER
75 bool "deluser"
76 default n
77 help
78 Utility for deleting a user account.
79
80 config GETTY
81 bool "getty"
82 default n
83 select FEATURE_SYSLOG
84 help
85 getty lets you log in on a tty, it is normally invoked by init.
86
87 config FEATURE_UTMP
88 bool "Support utmp file"
89 depends on GETTY || LOGIN || SU || WHO
90 default n
91 help
92 The file /var/run/utmp is used to track who is currently logged in.
93
94 config FEATURE_WTMP
95 bool "Support wtmp file"
96 depends on GETTY || LOGIN || SU || LAST
97 default n
98 select FEATURE_UTMP
99 help
100 The file /var/run/wtmp is used to track when user's have logged into
101 and logged out of the system.
102
103 config LOGIN
104 bool "login"
105 default n
106 select FEATURE_SUID
107 select FEATURE_SYSLOG
108 help
109 login is used when signing onto a system.
110
111 Note that Busybox binary must be setuid root for this applet to
112 work properly.
113
114 config LOGIN_SCRIPTS
115 bool "Support for login scripts"
116 depends on LOGIN
117 default n
118 help
119 Enable this if you want login to execute $LOGIN_PRE_SUID_SCRIPT
120 just prior to switching from root to logged-in user.
121
122 config FEATURE_SECURETTY
123 bool "Support for /etc/securetty"
124 default y
125 depends on LOGIN
126 help
127 The file /etc/securetty is used by (some versions of) login(1).
128 The file contains the device names of tty lines (one per line,
129 without leading /dev/) on which root is allowed to login.
130
131 config PASSWD
132 bool "passwd"
133 default n
134 select FEATURE_SUID
135 select FEATURE_SYSLOG
136 help
137 passwd changes passwords for user and group accounts. A normal user
138 may only change the password for his/her own account, the super user
139 may change the password for any account. The administrator of a group
140 may change the password for the group.
141
142 Note that Busybox binary must be setuid root for this applet to
143 work properly.
144
145 config FEATURE_PASSWD_WEAK_CHECK
146 bool "Check new passwords for weakness"
147 default y
148 depends on PASSWD
149 help
150 With this option passwd will refuse new passwords which are "weak".
151
152 config SU
153 bool "su"
154 default n
155 select FEATURE_SUID
156 select FEATURE_SYSLOG
157 help
158 su is used to become another user during a login session.
159 Invoked without a username, su defaults to becoming the super user.
160
161 Note that Busybox binary must be setuid root for this applet to
162 work properly.
163
164 config FEATURE_SU_SYSLOG
165 bool "Enable su to write to syslog"
166 default y
167 depends on SU
168
169 config FEATURE_SU_CHECKS_SHELLS
170 bool "Enable su to check user's shell to be listed in /etc/shells"
171 depends on SU
172 default y
173
174 config SULOGIN
175 bool "sulogin"
176 default n
177 select FEATURE_SYSLOG
178 help
179 sulogin is invoked when the system goes into single user
180 mode (this is done through an entry in inittab).
181
182 config VLOCK
183 bool "vlock"
184 default n
185 select FEATURE_SUID
186 help
187 Build the "vlock" applet which allows you to lock (virtual) terminals.
188
189 Note that Busybox binary must be setuid root for this applet to
190 work properly.
191
192 endmenu
193