This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 231525 - RFE: add '--hint' option [NEEDINFO]
RFE: add '--hint' option
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: shadow-utils (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
Kevin Baker
: FutureFeature, Patch
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-08 15:43 EST by Enrico Scholz
Modified: 2014-12-01 18:08 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-10-18 10:13:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
poelstra: needinfo? (pvrabec)


Attachments (Terms of Use)
adds '--hint' option to useradd (11.08 KB, patch)
2007-03-08 15:43 EST, Enrico Scholz
no flags Details | Diff

  None (edit)
Description Enrico Scholz 2007-03-08 15:43:40 EST
[there does not seem to exist an upstream location for shadow-utils, so I
request the patch here]

Description of problem:

Please apply the attached patch; it adds an '--hint <str>' option which allows
to create system users with a predictable uid. It replaces the current
fedora-usermgmt script in a way like:

old:
| fedora-useradd 42 -r joe

new:
| useradd --hint 42 -r joe

ditto for 'groupadd'.


You have to create a translator script like

| #! /bin/sh
| echo $[ $2 + 50000 ]

which gets called as '<script> (GROUP|USER) <hint> [<username>]'

This script is make know with the 'TRANSLATE_ID_PROG' def.
Comment 1 Enrico Scholz 2007-03-08 15:43:40 EST
Created attachment 149628 [details]
adds '--hint' option to useradd
Comment 2 Axel Thimm 2007-03-09 10:42:58 EST
This method (floating uid/gid window) is considered flawed by many, and should
probably be banned by the packaging guidelines altogether. Please do not apply
this patch to shadow-utils.
Comment 3 Enrico Scholz 2007-03-09 11:15:46 EST
What are the flaws you are referring to?
Comment 4 Enrico Scholz 2007-03-09 12:26:21 EST
and btw... there is no "floating" window of uids
Comment 5 Axel Thimm 2007-03-10 08:08:25 EST
(In reply to comment #3)
> What are the flaws you are referring to?

Is this the same Enrico that is subscribed to fedora-maintainers?

(In reply to comment #4)
> and btw... there is no "floating" window of uids

Isn't this about merging in fedora-usermgmt into useradd? The former's intention
is to setup users in a floating uid/gid window determined by the admin of each
system.
Comment 6 Enrico Scholz 2007-03-10 09:16:21 EST
>> What are the flaws you are referring to?
>Is this the same Enrico that is subscribed to fedora-maintainers?

yes; but the fedora-maintainers thread does not answer my question


> Isn't this about merging in fedora-usermgmt into useradd? The former's 
> intention is to setup users in a floating uid/gid window

You are misinformed; please learn how fedora-usermgmt works before continueing
Comment 7 Axel Thimm 2007-03-12 07:54:46 EDT
(In reply to comment #6)
> yes; but the fedora-maintainers thread does not answer my question

If the mail thread doesn't answer your questions, bugzilla will even less serve
your needs, it's far less a discussion medium than a mailing list. So please
address this in the already established thread, no need to repeat the same
discussion on every corner of this planet.

> You are misinformed; please learn how fedora-usermgmt works before continueing

That implies that everyone who doesn't like fedora-usermgmt is a moron, or that
fedora-usermgmt requires a degree in rocket science to be able to understand it.

I'm quite sure I know how it works and you know it. Pretending that you haven't
heard of flaws or that noone understands your work is not really helping.
Comment 8 Enrico Scholz 2007-03-12 08:17:59 EDT
Thread does not tell any technical flaw. And your continous mentioning of a
"floating window" shows, that you do not understand how 'fedora-usermgmt' works.
Comment 9 Jon Stanley 2008-04-23 16:30:42 EDT
Adding FutureFeature keyword to RFE's.
Comment 10 John Poelstra 2008-08-27 20:10:30 EDT
What is that current thought on this feature/attached patch?  Should this bug remain open or be closed?
Comment 12 Tomas Mraz 2013-10-18 10:13:52 EDT
The upstream exists and it should be discussed there: http://pkg-shadow.alioth.debian.org/

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