This is an old revision of the document!
$ sudo su - ... # passwd ...
root@hostX:~# adduser user1 root@hostX:~# adduser --uid=10001 user1 root@hostX:~# chfn user1 root@hostX:~# chsh user1 root@hostX:~# vipw root@hostX:~# vipw -s root@hostX:~# userdel -r user1
root@hostX:~# groupadd group1 root@hostX:~# useradd -G group1,group2 user1