User Tools

Site Tools


eduardo:linux:adduser

Add User

  • Add User
  • Add to Group
useradd -c <First Lastname> -p <password> <username>
usermod -aG <groupname> <username>

Setup one time password

  • May need to do the following if PAM is enabled
authconfig --disablekrb5 --update
authconfig --disablewinbindoffline --update
authconfig --disableldapauth --update
  • Set password to expire upon first login
chage -d 0 <username>
eduardo/linux/adduser.txt · Last modified: 2024/02/23 08:20 by 127.0.0.1