pure number allowed as username in the useradd command?

Tom H tomh0665 at gmail.com
Fri Dec 3 12:25:26 UTC 2010


On Fri, Dec 3, 2010 at 7:09 AM, Marko Vojinovic <vvmarko at gmail.com> wrote:
> On Friday 03 December 2010 06:28:27 Joachim Backes wrote:
>>
>> See chown: allows username and userid as new owner. So if a numerical
>> userid is the same as a username (having another userid), which user is
>> meant? The user with this username, or the user with this userid?
>
> The username is assumed first, and looked up in /etc/passwd for a corresponding
> userid. If not found, and if the input is numeric, then it is assumed to be a
> userid.

Thanks. I guess we can call this progress!


More information about the users mailing list