I have a problem with my useradd-script.
# Set the field seperator to a newline
# Loop through the file
for line in `cat /www/fotoalbum/users.lst`;do
If I run the script these lines are created in the /etc/passwd:
When I use useradd @ the prompt, these (correct) lines are created:
Why is the result of the useradd in the script different?