Upload Tizen:Main source
[external/shadow-utils.git] / TODO
1 /etc/default/useradd
2  * GROUP=1000 should accept a group name.
3
4 Check when RLOGIN is enabled if ruserok() exists
5
6 Move selinux_file_context out of libmisc/copydir.c
7
8 Review hardcoded root account?
9
10 review all call to strto
11
12 libmisc/cleanup_user.c
13         cleanup needed (cleanup_report_add_user* not used)
14
15
16 libxcrypt support
17  * http://wiki.linuxfromscratch.org/patches/browser/trunk/shadow/shadow-4.0.18.1-owl_blowfish-1.patch
18
19 implement getlong, getulong.
20         avoid atoi, atol, atoul, strtol, strtoul, ...
21
22 manpages: comment the RLOGIN parts
23
24 Replace build_list (in lib/gshadow.c) and list (in lib/sgetgrent.c) by
25 comma_to_list()
26
27 Revert the modified files if all files could not be changed.
28   * or warn and indicate which files were modified and which were not.
29   * check the order the files are modified.
30
31 report nscd_flush_cache failures?
32 call nscd from the programs or from lib (commonio?)
33
34 PAM: check if a non-interactive conversation function could be used to set
35 the password in chpasswd and newusers
36
37 WITH_SELINUX
38   - review all tools to check that the strategies are consistent
39
40 chage, chfn, chsh: same change needed as in passwd.
41   - probably need moving check_selinux_access to a separate file.
42
43 testsuite
44  - newgrp
45    - test with unknown user's GID
46
47 newusers
48  - add logging to SYSLOG & AUDIT
49  - use CREATE_HOME
50  - Add a -Z option (see useradd / usermod)
51
52 Document when/where option appeared, document whether an option is standard
53 or not.
54
55 Check all the expiry semantics
56
57 ALL:
58 - move base passwd/shadow/group/gshadow operation to module for allow write
59   different backend modules for db, NIS, LDAP and others. Default backend it
60   will be goot if will be chosen depending on /etc/nsswitch.conf and allow
61   override this by -r <repository> options (where the <repository> can be
62   file, db, nis nisplus, ldap .. like on /etc/nsswitch.conf in service column).
63   passwd have old piece of code with handling -r option and it will be good
64   finish this and propagate on other shadow tools for allow operate on other
65   user databases by well known tools.
66 - Protect against signals. Register do_cleanups in a signal handler.
67
68 - login.defs
69   - generate depending on configuration
70
71 - useradd:
72   - add handle create user mail spool in maildir format.
73   - Add support for -k in -D mode
74   - Add support for -K in -D mode
75   - Add option to create or not the mail spool (and set the default in -D
76     mode)
77   - Change -l to reset the entry if an entry was already there
78   - set the mask in mkdir?
79
80 - userdel:
81   - add backup option for the removal of user resources,
82   - user_busy: check that the user is not running any processes.
83   - missing "deleting group" FAILED
84   - home dir removed, but userdel may fail and may leave the user
85     => warning needed
86
87 - usermod
88   - add an option equivalent to useradd's -l (only when uid is changed)
89   - the mode of new home directories should be set according to the
90     original mode. Does copy_tree does this?
91   - user renamed, order is not kept in /etc/group (see
92     47_usermod-l_no_shadow_file). This is a problem when the first user is
93     considered as the admin.
94   - see mail "user ID change" on  April, 15
95     + fix call to chown (combination of -m and -u/-g)
96     + add tests
97
98 - passwd:
99   - check combination of options (e.g. -u/-l)
100   - when -u refuse to unlock because it would create an empty password, it
101     should not display "Password changed."
102     exit instead?
103
104 - newgrp: check the USE_PAM section.
105
106 - pwck
107   - Add check to move passwd passwords to shadow if there is a shadow
108     entry (with a password).
109   - Add check to move passwd passwords to shadow if there is a shadow
110     file.
111
112 - su
113   - add a login.defs configuration parameter to add variables to keep in
114     the environment with "su -l" (TERM/TERMCOLOR/...