Bug 578746 - --append option not working in usermod
Summary: --append option not working in usermod
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: shadow-utils
Version: 4.8
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Peter Vrabec
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On: 222540
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-01 09:06 UTC by Miroslav Vadkerti
Modified: 2010-07-23 11:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 222540
Environment:
Last Closed: 2010-07-23 11:36:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Miroslav Vadkerti 2010-04-01 09:06:20 UTC
+++ This bug was initially created as a clone of Bug #222540 +++

Description of problem:
The --append long option does not seem to work at all.  The equivelent -a option
does work.  I'm leaving this as normal severity rather than low

Version-Release number of selected component (if applicable):
shadow-utils-4.0.3-66.RHEL4.1

How reproducible:
every time

Steps to Reproduce:
1. groupadd -r sound 
2. usermod -a -G sound mikedlr
3. usermod --append -G sound mikedlr
4. usermod -a -G sound mikedlr  

Actual results:
the second and fourth command complete correctly and silently.  The third step
outputs the usage information from usermod 

Expected results:
according to manual page and usermod --help, --append option should do the same
as -a

Additional info:
I'm leaving this as normal severity since an important script might be depending
on this.

--- Additional comment from mvyynqbgerqungqbgpbz.yeuhc on 2007-01-13 12:01:19 EST ---

Created an attachment (id=145529)
actual session showing usermod failing to work

--- Additional comment from pvrabec on 2007-01-14 08:39:00 EST ---

fixed in shadow-utils-4.0.17-12.fc6

Comment 1 Peter Vrabec 2010-07-23 11:36:36 UTC
There are no long options for usermod in shadow-utils-4.0.3 at all. This behaviour is correct.


Note You need to log in before you can comment on or make changes to this bug.