494ddbd6b643803798064f959f2d1c058fbead10
[oweals/busybox.git] / loginutils / Config.in
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 CONFIG_USE_BB_PWD_GRP
9         bool "Use internal password and group functions rather than system functions"
10         default n
11         help
12             If you leave this disabled, busybox will use the system's password
13             and group functions.  And if you are using the GNU C library
14             (glibc), you will then need to install the /etc/nsswitch.conf
15             configuration file and the required /lib/libnss_* libraries in
16             order for the password and group functions to work.  This generally
17             makes your embedded system quite a bit larger.
18
19             Enabling this option will cause busybox to directly access the
20             system's /etc/password, /etc/group files (and your system will be
21             smaller, and I will get fewer emails asking about how glibc NSS
22             works).  When this option is enabled, you will not be able to use
23             PAM to access remote LDAP password servers and whatnot.  And if you
24             want hostname resolution to work with glibc, you still need the
25             /lib/libnss_* libraries.
26
27             If you enable this option, it will add about 1.5k to busybox.
28
29
30 config CONFIG_ADDGROUP
31         bool "addgroup"
32         default n
33         help
34           Utility for creating a new group account.
35
36 config CONFIG_DELGROUP
37         bool "delgroup"
38         default n
39         help
40           Utility for deleting a group account.
41
42 config CONFIG_ADDUSER
43         bool "adduser"
44         default n
45         help
46           Utility for creating a new user account.
47
48 config CONFIG_DELUSER
49         bool "deluser"
50         default n
51         help
52           Utility for deleting a user account.
53
54 config CONFIG_GETTY
55         bool "getty"
56         default n
57         help
58           Please submit a patch to add help text for this item.
59
60 config CONFIG_LOGIN
61         bool "login"
62         default n
63         help
64           Login  is  used  when  signing onto a system.
65
66 config CONFIG_FEATURE_SECURETTY
67         bool "  Support for /etc/securetty"
68         default y
69         depends on CONFIG_LOGIN
70         help
71           The  file  /etc/securetty  is used by (some versions of) login(1).  The
72           file contains the device names of tty  lines  (one  per  line,  without
73           leading /dev/) on which root is allowed to login.
74
75 config CONFIG_PASSWD
76         bool "passwd"
77         default n
78         help
79           Passwd  changes  passwords  for user and group accounts.  A normal user
80           may only change the password for his/her own account,  the  super  user
81           may  change the password for any account.  The administrator of a group
82           may change the password for the group.
83
84 config CONFIG_SU
85         bool "su"
86         default n
87         help
88           su is used to become another user during a login session. Invoked with-
89           out a username, su defaults to becoming the super user.
90
91 config CONFIG_SULOGIN
92         bool "sulogin"
93         default n
94         help
95           Sulogin is invoked when the system goes into single user
96           mode (this is done through an entry in inittab).
97
98 config CONFIG_VLOCK
99         bool "vlock"
100         default n
101         help
102           Please submit a patch to add help text for this item.
103
104 comment "Common options for adduser, deluser, login, su"
105         depends on CONFIG_ADDUSER || CONFIG_DELUSER || CONFIG_LOGIN || CONFIG_SU
106
107 config CONFIG_FEATURE_SHADOWPASSWDS
108         bool "Support for shadow passwords"
109         default n
110         depends on CONFIG_ADDUSER || CONFIG_DELUSER || CONFIG_LOGIN || CONFIG_SU
111         help
112           Please submit a patch to add help text for this item.
113
114 config CONFIG_USE_BB_SHADOW
115         bool "  Use busybox shadow password functions"
116         default n
117         depends on CONFIG_USE_BB_PWD_GRP && CONFIG_FEATURE_SHADOWPASSWDS
118         help
119           Please submit a patch to add help text for this item.
120
121 endmenu
122