"Mike A. Harris" <[EMAIL PROTECTED]> writes:
> The groupadd command lists a "-o" option. The manpage talks
> about this mythical option too. It says:
>
> SYNOPSIS
> groupadd [-g gid [-o]] [-r] [-f] group
> [SNIP]
> -g gid The numerical value of the group's ID. This value
> must be unique, unless the -o option is used. The
> value must be non-negative. The default is to use
> [SNIP]
> -f This is force flag. This will stop groupadd exit
> with error when the group about to be added already
> exists on the system. If that is the case, the
> group won't be altered (or added again, for that
> matter).
> This option also modifies the way -g option works.
> When you request a gid that it is not unique and
> you don't give -o option too, the group creation
> will fall back to the standard behavior (adding a
>
> Three mentions of "-o" being used, so the manpage author
> obviously knows a great deal about this "-o" option. It appears
> that he wanted to keep this secret information to himself though
> as there is no actual explanation as to what -o does.
>
> Someone tell me, and I'll do my part and submit a patch to the
> maintainer.
<snip>
I looked at the source code for useradd in the shadow-utils package
and it appears the -o flag permits non-unique user IDs to be specified
with the -u flag so there can be multiple account names with the same
user id in the password file.
--
Prasanth Kumar
[EMAIL PROTECTED]
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list