I got a server running on ubuntu 11.10 on rackspace cloud
root and other users are successfully showing the login shell in the format
root@server1:
however, this is not true for www-data user.
How do I correct this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Root and other user accounts are set to /bin/sh
For www-data, you need to change the login shell for this.
login via ssh as root
and type
This will change the login shell for www-data such that the /bin/sh is used