create home directories after create users
This might sound like a silly idea, but if the users aren’t actually doing anything, you could do: cat /etc/passwd | cut -f 1 -d : >/tmp/users.list Then edit /tmp/users.list to only contain the users you want. Then do: for i in `cat /tmp/users.list` do userdel $i useradd -m $i done However, many Redhat based … Read more