Originally Posted by bathory
How did you add the user in /etc/passwd? If you edit the file and add the user by hand, you should do the same for /etc/shadow.
Also "su - ftp" shouldn't work, because you don't have to give that user a valid shell.
The user ftp was created by: adduser -h /var/ftp ftp
But after doing so, no line was added to /etc/shadow.
On my CentOS PC the line in /etc/passwd is:
and in /etc/shadow is:
Should I use those lines exactly in my embedded linux ?