Create new user "appcore" as System User and add to User Group :
$ sudo su
$ useradd -r -m -d /home/appcore -g db2iadm1 appcore
Change password :
$ sudo su
$ passwd appcore
Check password expired :
$ sudo su
$ chage -l appcore
Set password never expired :
$ sudo su
$ chage -I -1 -m 0 -M 99999 -E -1 appcore
Source :
https://linuxize.com/post/how-to-create-users-in-linux-using-the-useradd-command/
https://www.shellhacks.com/linux-set-password-to-never-expire/
https://www.cyberciti.biz/faq/linux-set-change-password-how-to/
Comments
Post a Comment