Re: passwd again

From: Grzegorz Czaplinski (G.Czaplinski_at_prioris.mini.pw.edu.pl)
Date: 05/30/03

  • Next message: Sue Blake: "FreeBSD Newbies FAK"
    Date: Fri, 30 May 2003 12:28:50 +0200
    To: Gannater János <gannater@freemail.hu>
    
    
    

    On Fri, May 30, 2003 at 12:17:56PM +0200, Gannater János wrote:
    > Hello,
    >
    > I again have a real newbie question.
    > As you know I deleteted the users. :((
    > And of course some programs need special users, so that they can run.
    > For example postfix.
    > How can I create a postfix user, that look-ed like this:
    > postfix:*:1006:1006:Postfix Mail System:/var/spool/postfix:/sbin/nologin
    > And does it need a password?
    >

    :)
    pw useradd -u 1006 -g 1006 -c "Postfix Mail System" -d
    /var/spool/postfix -m -s /sbin/nologin -h - -n postfix

    It does not need the password.

    :)
    Cheers,
            gregory

    --
    Grzegorz Czaplinski <gregory@prioris.mini.pw.edu.pl>
    "The Power to Serve, Right for the Power Users!" - http://www.FreeBSD.org/
     Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F
    
    



  • Next message: Sue Blake: "FreeBSD Newbies FAK"
  • Quantcast