Bug 434780 - luserdel ignores parameter --interactive
Summary: luserdel ignores parameter --interactive
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: libuser   
(Show other bugs)
Version: 4.6
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Miloslav Trmač
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2008-02-25 13:40 UTC by Milos Malik
Modified: 2008-02-26 01:16 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-26 01:16:59 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Milos Malik 2008-02-25 13:40:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv: Gecko/20080208 Fedora/ Firefox/

Description of problem:
The luserdel utility removes the user account without asking for any information even if command line "--interactive" was given.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. luserdel --interactive testuser

Actual Results:
No prompt for any information.

Expected Results:
Prompt for necessary information (e.g.: remove the home directory?)

Additional info:

Comment 1 RHEL Product and Program Management 2008-02-25 13:48:07 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update

Comment 2 Miloslav Trmač 2008-02-26 01:16:59 UTC
Thanks for your report.

The behavior is correct, only the --help output is imprecise. --help says:
  -i, --interactive              prompt for all information
but the real meaning of the option is:
       -i, --interactive
              Ask all questions when connecting to the user database, even  if
              default answers are set up in libuser configuration.
Unfortunately the libuser version in RHEL4 has very little documentation.

Thus, -i affects only libuser modules that can ask questions about configuration
- in practice, only the "ldap" module.  It does not mean that luserdel should
ask for any confirmation.

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