shadow/TODO

128 lines
4.2 KiB
Plaintext
Raw Normal View History

2021-08-18 18:06:02 +00:00
* Create a common usage function that'd take the array of
2009-09-05 20:26:09 +00:00
long options and an array of descriptions and output that so things would
be standardized across the utils.
Usage strings should be normalized and split first.
Investigate optparse.
/etc/default/useradd
* GROUP=1000 should accept a group name.
2009-07-23 19:40:00 +00:00
Check when RLOGIN is enabled if ruserok() exists
2009-04-11 16:24:06 +00:00
Move selinux_file_context out of libmisc/copydir.c
2009-04-12 00:38:41 +00:00
Review hardcoded root account?
2009-04-05 23:50:58 +00:00
review all call to strto
2009-03-15 21:38:46 +00:00
libmisc/cleanup_user.c
cleanup needed (cleanup_report_add_user* not used)
libxcrypt support
* http://wiki.linuxfromscratch.org/patches/browser/trunk/shadow/shadow-4.0.18.1-owl_blowfish-1.patch
2008-09-04 20:41:18 +00:00
implement getlong, getulong.
avoid atoi, atol, atoul, strtol, strtoul, ...
manpages: comment the RLOGIN parts
2008-08-31 17:30:37 +00:00
Replace build_list (in lib/gshadow.c) and list (in lib/sgetgrent.c) by
comma_to_list()
Revert the modified files if all files could not be changed.
* or warn and indicate which files were modified and which were not.
* check the order the files are modified.
report nscd_flush_cache failures?
2008-09-04 20:41:18 +00:00
call nscd from the programs or from lib (commonio?)
2008-09-04 20:41:18 +00:00
PAM: check if a non-interactive conversation function could be used to set
the password in chpasswd and newusers
2008-05-23 20:47:45 +00:00
2008-04-02 21:42:04 +00:00
WITH_SELINUX
- review all tools to check that the strategies are consistent
chage, chfn, chsh: same change needed as in passwd.
- probably need moving check_selinux_access to a separate file.
testsuite
- newgrp
- test with unknown user's GID
newusers
- add logging to SYSLOG & AUDIT
- use CREATE_HOME
- Add a -Z option (see useradd / usermod)
Document when/where option appeared, document whether an option is standard
or not.
2007-11-27 19:45:36 +00:00
Check all the expiry semantics
ALL:
- move base passwd/shadow/group/gshadow operation to module for allow write
2007-11-17 16:33:33 +00:00
different backend modules for db, NIS, LDAP and others. Default backend it
will be goot if will be chosen depending on /etc/nsswitch.conf and allow
override this by -r <repository> options (where the <repository> can be
file, db, nis nisplus, ldap .. like on /etc/nsswitch.conf in service column).
passwd have old piece of code with handling -r option and it will be good
finish this and propagate on other shadow tools for allow operate on other
user databases by well known tools.
2009-03-07 16:29:28 +00:00
- Protect against signals. Register do_cleanups in a signal handler.
2009-03-14 13:21:15 +00:00
- login.defs
- generate depending on configuration
2008-09-04 20:41:18 +00:00
- useradd:
- add handle create user mail spool in maildir format.
2008-08-31 17:30:52 +00:00
- Add support for -k in -D mode
- Add support for -K in -D mode
2008-08-31 17:30:52 +00:00
- Add option to create or not the mail spool (and set the default in -D
mode)
2009-03-14 13:21:15 +00:00
- Change -l to reset the entry if an entry was already there
2009-03-07 16:29:28 +00:00
- set the mask in mkdir?
- userdel:
2007-11-17 16:33:33 +00:00
- add backup option for the removal of user resources,
2007-11-20 13:42:18 +00:00
- user_busy: check that the user is not running any processes.
2008-09-04 20:41:18 +00:00
- missing "deleting group" FAILED
- home dir removed, but userdel may fail and may leave the user
=> warning needed
- usermod
2009-03-14 13:21:15 +00:00
- add an option equivalent to useradd's -l (only when uid is changed)
- the mode of new home directories should be set according to the
original mode. Does copy_tree does this?
2009-04-14 22:19:17 +00:00
- user renamed, order is not kept in /etc/group (see
47_usermod-l_no_shadow_file). This is a problem when the first user is
considered as the admin.
- see mail "user ID change" on April, 15
+ fix call to chown (combination of -m and -u/-g)
+ add tests
2007-11-17 16:27:30 +00:00
- passwd:
- check combination of options (e.g. -u/-l)
2009-04-05 23:50:58 +00:00
- when -u refuse to unlock because it would create an empty password, it
should not display "Password changed."
exit instead?
2007-11-17 16:27:30 +00:00
- newgrp: check the USE_PAM section.
2008-10-11 13:15:29 +00:00
- pwck
- Add check to move passwd passwords to shadow if there is a shadow
entry (with a password).
- Add check to move passwd passwords to shadow if there is a shadow
file.
- Support an alternative /etc/tcb directory as second parameter.
- add options -g / -G to specify alternative group / gshadow files
2008-10-11 13:15:29 +00:00
- su
- add a login.defs configuration parameter to add variables to keep in
the environment with "su -l" (TERM/TERMCOLOR/...)
- vipw
2010-03-31 09:27:11 +00:00
- set ACLs and XATTRs on the temporary file (and backups?)
2012-01-15 21:26:56 +00:00
- vipw + selinux -> use lib/selinux.c