linux user command
created : 2020-04-07T11:35:41+00:00
modified : 2020-06-27T06:14:54+00:00
-
check username
cat /etc/passwd grep {username} -
create user & select default shell
useradd {username} -m -s /bin/bash
-
password
echo {password} passwd –stdin {username} -
home directory
mkhomedir_helper {username}