Re: Passwd file oddity.

From: Jon Simola (jsimola_at_gmail.com)
Date: 03/04/05

  • Next message: Keith Woodworth: "Re: Passwd file oddity."
    Date: Fri, 4 Mar 2005 09:58:20 -0800
    To: Keith Woodworth <kwoody@citytel.net>
    
    

    On Fri, 4 Mar 2005 09:29:30 -0800 (PST), Keith Woodworth
    <kwoody@citytel.net> wrote:

    > It seems like the machine is using another passwd file. I have
    > passwd/master.passwd in /etc. Is there somewhere else this info is hidden?
    > The passwd file is a combo of standard crypt() and md5 hashes, which does
    > not seem to bother the mailserver for various things, but seems to be
    > having a problem on this new machine, though that should not be an issue
    > as far as I can tell.

    man pwd_mkdb

    You need to rebuild the binary DB password files. No authentication is
    done against the plaintext versions, they are mainly sourced for the
    DB versions.

    Another less intensive option is to run 'vipw' and make a small change
    (add another o to "Charlie Root" for example) and vipw will recompile
    them for you.

    -- 
    Jon Simola
    Systems Administrator
    ABC Communications
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Keith Woodworth: "Re: Passwd file oddity."

    Relevant Pages

    • Re: change csh to bash
      ... >> insert a middle inital for the passwd file to work. ... And the other plus for using vipw is that if you make a mistake ... and perhaps corrupt your entire password file. ... Bill Vermillion - bv @ wjv. ...
      (comp.unix.bsd.freebsd.misc)
    • SUMMARY: Caching of passwd entries
      ... who got in first with the correct solution: Thou Shalt Always Edit They passwd File With vipw. ... Apologies for any duplicate messages you've received from me this morning - mail client troubles, ...
      (Tru64-UNIX-Managers)
    • Re: etc/passwd- file
      ... people used programs like "vipw" (edit the password file with $EDITOR, ... You still should use 'vipw' on multiuser systems, to prevent corruption ... "vipw" locks the passwd file during the edit. ...
      (comp.os.linux.misc)
    • Re: change csh to bash
      ... > I have noticed when moving mortal users to a new system - ... > That I have run vipw and change something in the file. ... > inital for the passwd file to work. ... [this is why you should not use Google Groups - it mangles quotes!] ...
      (comp.unix.bsd.freebsd.misc)
    • Re: bash = default
      ... Either vipw or chsh will do it fine. ... the full path for bash ... What I meant is I don't know if you could use the -i in the passwd file. ...
      (freebsd-questions)