newusers command - bulk users insert

ubuntu@ubuntu:~/Documents/testadmin$ cat users1 
us1:passwd:11111:12345:full name:/home/us1:/bin/bash

ubuntu@ubuntu:~/Documents/testadmin$ sudo newusers users1

ubuntu@ubuntu:~/Documents/testadmin$ tail -n 2 /etc/passwd
Jakob:x:1004:1004::/home/Jakob:
us1:x:11111:12345:full name:/home/us1:/bin/bash


<Username>:<Password>:<UID>:<GID>:<User Info>:<Home Dir>:<Default Shell>

Comments

Popular posts from this blog

HAproxy logging

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all

teamcity Automatic Agent Start under Linux