]> granicus.if.org Git - shadow/blobdiff - TODO
* NEWS, src/userdel.c: Do not remove a group with the same name as
[shadow] / TODO
diff --git a/TODO b/TODO
index f5f3bfa2b65331656b021c6d135e22976ed225b4..6713078133b62bb832c54542c24db902c3de5b9c 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,13 +1,45 @@
-report nscd_flush_cache failures?
+ * Create a common usage function that'd take the array of     
+   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.
+
+Check when RLOGIN is enabled if ruserok() exists
+
+Move selinux_file_context out of libmisc/copydir.c
+
+Review hardcoded root account?
 
-passwd -l should lock the password, not the account.
+review all call to strto
 
-vipw: Test SHADOWGRP support before using gshadow features.
+libmisc/cleanup_user.c
+       cleanup needed (cleanup_report_add_user* not used)
 
-PAM: add support for customization of the PAM support (i.e. support the
-Debian PAM configuration)
 
-PAM: check if a non-interactive conversation function could be used to 
+libxcrypt support
+ * http://wiki.linuxfromscratch.org/patches/browser/trunk/shadow/shadow-4.0.18.1-owl_blowfish-1.patch
+
+implement getlong, getulong.
+       avoid atoi, atol, atoul, strtol, strtoul, ...
+
+manpages: comment the RLOGIN parts
+
+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?
+call nscd from the programs or from lib (commonio?)
+
+PAM: check if a non-interactive conversation function could be used to set
+the password in chpasswd and newusers
 
 WITH_SELINUX
   - review all tools to check that the strategies are consistent
@@ -15,33 +47,20 @@ WITH_SELINUX
 chage, chfn, chsh: same change needed as in passwd.
   - probably need moving check_selinux_access to a separate file.
 
-man useradd
-       document default behavior for GROUP
-       remove "The default group number is 1 or whatever is..."
-
-useradd manpage
-  - add -k option
-  - mention that -o require -u
-
 testsuite
  - newgrp
    - test with unknown user's GID
 
 newusers
  - add logging to SYSLOG & AUDIT
-
-faillog
- - accept numerical user and range of users
+ - use CREATE_HOME
+ - Add a -Z option (see useradd / usermod)
 
 Document when/where option appeared, document whether an option is standard
 or not.
 
-depends rules for the manpages
-
 Check all the expiry semantics
 
-Add options --crypt-method and --sha-rounds to gpasswd
-
 ALL:
 - move base passwd/shadow/group/gshadow operation to module for allow write
   different backend modules for db, NIS, LDAP and others. Default backend it
@@ -51,39 +70,57 @@ ALL:
   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.
+- Protect against signals. Register do_cleanups in a signal handler.
+
+- login.defs
+  - generate depending on configuration
 
 - useradd:
   - add handle create user mail spool in maildir format.
-
-- add handle -n switch in groups and id command for allow query is
-  group/user with specified id/gid exist - this will be very usable
-  on automation in packages for query/check is group/user exist in system
-  or not,
-
-- groupmems: 
-  - need some work on add PAM and i18n support.
+  - Add support for -k in -D mode
+  - Add support for -K in -D mode
+  - Add option to create or not the mail spool (and set the default in -D
+    mode)
+  - Change -l to reset the entry if an entry was already there
+  - set the mask in mkdir?
 
 - userdel:
   - add backup option for the removal of user resources,
-  - add lookop and remove per user group.
   - user_busy: check that the user is not running any processes.
+  - missing "deleting group" FAILED
+  - home dir removed, but userdel may fail and may leave the user
+    => warning needed
+
+- usermod
+  - 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?
+  - 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
 
 - passwd:
   - check combination of options (e.g. -u/-l)
+  - when -u refuse to unlock because it would create an empty password, it
+    should not display "Password changed."
+    exit instead?
 
 - newgrp: check the USE_PAM section.
 
-- groupmems:
-  * Add support for gshadow
+- 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
 
-- newusers: doc for pw_gid not clear. Differentiate
-            pw_gid specified and exist
-            pw_gid specified but does not exist
-             * name
-             * number
-            pw_gid not specified.
-- newusers: document what happens when no uid is specified.
-- newusers: add option --system?
+- su
+  - add a login.defs configuration parameter to add variables to keep in
+    the environment with "su -l" (TERM/TERMCOLOR/...)
 
--Documentation:
- * document when options were added.
+- vipw
+  - set ACLs and XATTRs on the temporary file (and backups?)