Re: system users with dot in the name

shrek-m_at_gmx.de
Date: 05/15/04

  • Next message: Patrick Boutilier: "Re: FC2 Available for Download May 14??"
    Date: Sat, 15 May 2004 13:49:31 +0200
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Tommy Reynolds wrote:

    >Uttered Douglas Furlong <douglas.furlong@firebox.com>, spake thus:
    >
    >>However I have read some suggest "."'s in the name may be a very bad
    >>thing.
    >>

    my opinion:
    a "." in the username is no bad thing
    a "@" in the username, i do not need it

    # useradd test@user
    # userdel test@user

    >> One example was the chown command, on some systems you could have
    >>a user named John, and Group name Smith, and another user John.Smith.
    >>
    >>
    >The chown form "name.group" is now deprecated.
    >
    >The preferred form is
    >now "name:group".
    >

    it was always "user:group"
    a few yeras agoo i have heard the first time about the possibility to use
    "user.group" instead "user:group"

    $ man chown
    [...]
    SYNOPSIS
           chown [OPTION]... OWNER[:[GROUP]] FILE...
           chown [OPTION]... :GROUP FILE...

    afaik under rhl <= 7.3 it was no problem to use dot_named_users:

    ?? is it in bugzilla ??

    # cat /etc/redhat-release
    Red Hat Linux release 7.3 (Valhalla)

    # useradd test.user

    # passwd test.user
    Changing password for user test.user.
    New password:
    BAD PASSWORD: it's WAY too short
    Retype new password:
    passwd: all authentication tokens updated successfully.

    # grep test.user /etc/passwd /etc/group
    /etc/passwd:test.user:x:506:507::/home/test.user:/bin/bash
    /etc/group:test.user:x:507:

    # ll /home/ | grep test
    drwx------ 3 test.use test.use 4096 Mai 15 12:55 test.user

    # mkdir te.us
    # ll | grep te.us
    drwxr-xr-x 2 root root 4096 Mai 15 13:05 te.us

    # chown test.user:test.user te.us/
    # ll | grep te.us
    drwxr-xr-x 2 test.use test.use 4096 Mai 15 13:05 te.us

    # mail -sbla test.user
    blubber

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Patrick Boutilier: "Re: FC2 Available for Download May 14??"

    Relevant Pages

    • PHP Login Problems (with MySQL backend database)
      ... A user types in his/her username and password and hits login. ... session_register("passwd"); ... I commented out the setcookie function because many users use the same ...
      (comp.lang.php)
    • Re: [samba] printer authentication
      ... These machines are public machines. ... >> now the windoz machine is a public machine so I want that everything ... But only privileged users have username and passwd to access the printer. ...
      (alt.os.linux.redhat)
    • Re: Adding a new user?
      ... > useradd to add a new user and passwd usernamehere to change his password. ... First off, since the root password you initially entered seems to be no good, ... the username of JackAni. ...
      (comp.os.linux.setup)
    • Re: rebuilding accounts
      ... The -p option of 'useradd' requires an _encryprted_ password as its ... equal to his login. ... I recommend you set password separately, using the 'passwd' command. ... > I'm moving user home directories to the new ...
      (RedHat)
    • Re: generate a password string to be used by the useradd command
      ... I see there's something called mcrypt to replace crypt, ... which is just a random string to help add some ... user--as far as I can tell from the man page, useradd only disables the ... I add the user with useradd and then use passwd to set the password. ...
      (comp.os.linux.security)