Part Number: AM5728
Hello,
I am trying to create a new user ( say abcd ) on AM5728.
Setup : AM5728, SDK 6.03, Linux Operating System. Below mentioned are the steps i followed
1. Login though root user
2. Run command ==>> useradd abcd
3. passwd abcd
4. a new directory with name abcd is created at path /home and corresponding entries /etc/passwd and /etc/shadow file are created
5. Logged out and logged in through abcd and it works. A shell with abcd user is opened.
Now, my requirement is: I do not want to give this user the shell access but instead wants to run a script.
1. Created a script with abcd user and has ownership of abcd.
2. Logged in with root user, changed the /etc/passwd file
3. Inside the shell as root user, ran command < su abcd >. Script ran successfully.
4. Now, Logged out and logged in again with the abcd user. ssh abcd@IP
4. Entered the passwd,
Permission Denied prompt came, and without giving any passwd, just pressed entered and the script ran successfully. Why this error
