Re: Multiple Passwords

From: Deron Meranda (deron.meranda_at_gmail.com)
Date: 02/10/05

  • Next message: James Mckenzie: "Re: Segmentation Fault when accessing partition"
    Date: Thu, 10 Feb 2005 10:05:13 -0500
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Thu, 10 Feb 2005 06:02:02 +0000, Michael A. Peters <mpeters@mac.com> wrote:
    > > How can i have multiple passwords on single account. and please tell
    > > me what possible use could there be to have more than one password to
    > > a Linux account?
    >
    > I think you can by hand editing the /etc/passwd file to assign the same
    > UID to several users - I've never tried it, but I have heard of it.

    Yes it works, just choose different usernames but assign them all to
    the same uid and gid numbers and home directory. You'll have to
    edit /etc/passwd (or NIS) manually; or use the adduser command
    with the -o option to allow non-unique uids.

    Also note that for each username/password, the operation of the
    account will appear identical, except:

      * The $LOGNAME environment variable will be set to whichever
        username was used to log in (see the manpage for login(1)).

      * File ownerships (such as if you do ls -l) will appear to be owned
        by the first user in the passwd file with that uid. If you're using
        NIS it will appear random (do to sorting by hash values).

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

  • Next message: James Mckenzie: "Re: Segmentation Fault when accessing partition"

    Relevant Pages

    • Re: Question about SELinux and root privs
      ... "root" is just a normal user now, ... Yep, UID 0 of course, the username doesn't matter. ... > Well one of the points of SELinux seems to be there isn't any ... > account, and/or add/modify any privileges at will ... ...
      (comp.os.linux.security)
    • Re: USB mounting automatically : users option?
      ... chmod 777 /media/BLUE ... UID=1000 (and thus your account on this machine has a different UID ?) ... the most elegant solution I think. ...
      (Ubuntu)
    • Re: error
      ... > and when i tried to log in i could not get into my account ... the system is only interested in your UID. ... the corresponding username it displays the UID. ... Use 'chown' as root to give your user the files you want back. ...
      (alt.os.linux.suse)
    • Re: error
      ... > and when i tried to log in i could not get into my account ... the system is only interested in your UID. ... the corresponding username it displays the UID. ... Use 'chown' as root to give your user the files you want back. ...
      (alt.os.linux)
    • Re: Strange command histories in hacked shell history
      ... there was no distinction between euid and uid. ... >> Machine is configured in such way that everyone can create an account itself. ... > password, and some breaches the 'tsgan' account in any manner, such ...
      (FreeBSD-Security)

    Loading