Re: Will anytime /etc/passwd change due to 'pwconv' command?

From: Eric Sosman (Eric.Sosman_at_sun.com)
Date: 08/18/04

  • Next message: Pascal Bourguignon: "Re: What to do to add a secondary user group?"
    Date: Wed, 18 Aug 2004 16:23:54 -0400
    
    

    qazmlp wrote:
    > In my understanding, 'pwconv' command synchronizes the /etc/shadow
    > file according to the entries in /etc/passwd i.e it results into
    > changes only in /etc/shadow file and not in /etc/passwd due to the
    > invocation of 'pwconv' command. Am I right? In any case, does 'pwconv'
    > also result into some changes in /etc/passwd file?

         Any actual hashed passwords in /etc/passwd will be
    replaced with 'x'. Ordinarily, this only happens the
    very first time pwconv is run.

         You've posed a couple questions about making changes
    to the "user account" files. What are you trying to do,
    and is there a reason you can't do it through standard
    interfaces? The days of hand-editing /etc/passwd are
    (or ought to be) behind us ...

    -- 
    Eric.Sosman@sun.com
    

  • Next message: Pascal Bourguignon: "Re: What to do to add a secondary user group?"