[RHCE] Can't able to create user with DOTS?
Brad Oaks
bradoaks at earthlink.net
Sat Mar 19 21:05:09 EST 2005
Jon Carnes wrote:
>Very interesting...
>
>You can create a user with a DOT in the name, you just can't use any of
>the graphics tools to do it. If you manually edit the files:
> /etc/passwd
> /etc/shadow
> /etc/group
>
>You can add users and groups with a period "." in the name. You could
>file this as a bug, since obviously the system has no problems with the
>"." in the name - it's only the useradd application that apparently has
>the problem.
>
>Jon Carnes
>
>
>
Hi Navneet,
User names with dots in them may cause problems for some users of the
chown command. This is deprecated now, but has been around for a while
that you could perform your chgrp and chown operations in one command.
e.g. "chown braduser.bradgroup /home/brad" The new syntax for the same
operation is to use a colon as the seperator. e.g. "chown
braduser:bradgroup /home/brad"
FYI,
--bradoaks
More information about the RHCE
mailing list