Agnus Dei (jackal) wrote,
Agnus Dei

Add a user to server and force password change on login and force account to expire on date.

useradd -m -e 2013-12-07 -f 0 username
echo temppassword | passwd username --stdin
chage -d 0 username

Recent Posts from This Journal

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 1 comment