Logging in non-root users fails either with "no shell" or no directory

view full story

http://www.linuxquestions.org – Hello, I tried to create a user on Solaris 10 but when I try to login the user with "su -" I get the error message "no directory". When I try to login with "su" I get the error message "no shell". I tried the useradd several combinations e.g. useradd -d /export/home/<username> -m -g <groupnname> <username> All the tries i made didn't work. I also checked the permissions on /etc, /bin, /sbin and / and it seems ok so that the newly created user can access them. I hope anybody has an idea. Thanks (HowTos)