linux user - ghdrako/doc_snipets GitHub Wiki
usermod -s /bin/sh jsmith # Changing a User’s Login Shell
chsh -s /bin/zsh # change your own shell
userdel jsmith # Removing User Accounts but leaves the user’s home directory
userdel -r jsmith # remove with home dir
chage -l rsmith # current settings for the specified user account
chage -m 1 -M 90 rsmith # password change every 90 days (-M 90) with a minimum number of days between password changes to one (-m 1)
passwd -x -1 USERNAME # lub chage -M -1 USERNAME ustawienie niewygasajacego hasla