Re: User wit dot in red hat 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15:15 31 Jan 2004, Muhammad Rizwan Khan <rizwan@xxxxxxxxxxxx> wrote:
| Is it possible to create users with dot in redhat 9.
| like rizwan.khan

useradd doesn't let you do this. However, you can make the user with a
"normal" name (undotted, like your own login) and edit the /etc/passwd
and /etc/shadow files afterwards.

However, you should probably ask yourself why you want this.

At my workplace we make conventional logins (no dots) but generate
first.last mail aliases for everyone. I have yet to find a circumstance
where a first.last was wanted other than email.

Bear in mind that some programs will not like dots in usernames,
considering that a delimiter. For example the chown command accepts

	chown user.group file...

as a way to adjust the user and group at once. The SysV syntax for this:

	chown user:group file...

is of course preferable (and accepted by GNU chown) because it uses the
same delimiter as the passwd and group files, and so can't conflict with
a login name.

There are probably other examples.

Cheers,
--
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

That's about as good as when one of my students left me a note signed
'anon.'--written on personalized stationery.
        - Ayse Sercan <ayse@xxxxxxxxxx>


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux