Opened 5 years ago
Closed 5 years ago
#13 closed defect (fixed)
usermod (useradd) is not tolerant of illegal parameter values
Reported by: | lewisr | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | none | Version: | |
Keywords: | Cc: |
Description
When attempting to add a new user and set group membership, using the -u parameter incorrectly (UID, not "user group") may lead to unexpected results:
{0}[j:\devel\klusrmgr\src] usermod -a "User2" -u Joe 474 +++ Do nextUID = MinUID To 65535 By 1; REX0041: Error 41 running J:\DEVEL\KLUSRMGR\SRC\USERMOD.CMD, line 474: Bad arithmetic conversion 177 +++ Call _UserAdd;
Suggest that command line input be validated and useful errors returned to the user.
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in version 2.5.1