chpasswd

From: Gustavo Schroeder (gustavo_at_ccs.univali.br)
Date: 02/27/04

  • Next message: Nilesh: "Web Hosting -- help please"
    To: redhat-list@redhat.com
    Date: Fri, 27 Feb 2004 11:33:09 -0300
    
    

    Folks,

    i´m trying to change user passwords using apache. to do so i´m using
    chpasswd.
    when i login as root and issue
    # echo "user:pass"|chpasswd

    the password is correctly changed.
    but when i try as a non-root user (i.e. apache) i get
    chpasswd: can't lock password file

    any hint what i´m missing?
    is there any caveat for this?

    best regards

    Gustavo Schroeder
    Sys. Admin
    http://www.ccs.univali.br

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Nilesh: "Web Hosting -- help please"

    Relevant Pages

    • password change
      ... What is the best way to change passwords via php? ... I was first thinking of using the chpasswd function, ... I've also tried allowing apache to run passwd and get the folloing error: ...
      (comp.lang.php)
    • Re: password change
      ... > What is the best way to change passwords via php? ... > I was first thinking of using the chpasswd function, ... > I've also tried allowing apache to run passwd and get the folloing error: ...
      (comp.lang.php)