Validate that two of the -L, -p, and -U options are not used at the same
time after the parsing of options. -U used to be allowed after -p or -L, but not before.
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/usermod.c: Make usermod -d and -m work independant of the
|
||||
* src/usermod.c: Validate that two of the -L, -p, and -U options
|
||||
are not used at the same time after the parsing of options. -U
|
||||
used to be allowed after -p or -L, but not before.
|
||||
|
||||
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/usermod.c: Make usermod -d and -m work independent of the
|
||||
argument order. Thanks to Justin Pryzby <jpryzby+d@quoininc.com>
|
||||
for the patch. This fixes Debian's bug #451518.
|
||||
|
||||
|
Reference in New Issue
Block a user