LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   can't su to user (https://www.linuxquestions.org/questions/solaris-opensolaris-20/can%27t-su-to-user-451708/)

DarReNz 06-05-2006 03:44 AM

can't su to user
 
hi all,

I created a new user bb in Solaris 10 and after creating the directory /export/home/bb, i gave ownership to bb but still whenever i try to su to bb i get "su: No directory!" anyone knows why ?

apt-get-dude 06-05-2006 05:28 AM

can you show the output of # grep bb /etc/passwd and # ls -l /export/home/bb ?
Perhaps you have a permission problem.

spyghost 06-16-2006 10:17 AM

Quote:

Originally Posted by DarReNz
hi all,

I created a new user bb in Solaris 10 and after creating the directory /export/home/bb, i gave ownership to bb but still whenever i try to su to bb i get "su: No directory!" anyone knows why ?

i assume that you are creating a local user.

grep bb in /etc/passwd. check the home directory column of passwd. make sure that it "really" exists in your tree. what you an do is ls -ld /export/home/bb and see the owner of the home directory. also, check out your shell.


All times are GMT -5. The time now is 01:27 AM.