Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i can login as test2 . But the problem was that home directory was not mouting n still after doing this i cannot be able to access home directory of test2. The problem is still there.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by capricorn80
i can login as test2 . But the problem was that home directory was not mouting n still after doing this i cannot be able to access home directory of test2. The problem is still there.
Please elaborate.
Copy and paste the results of these commands executed on your client machine:
Code:
$ telnet localhost
Connected to localhost.
Escape character is '^]'.
login: test2
password: *****
Last login: Mon Aug 14 10:23:59 on pts/7
Sun Microsystems Inc. SunOS 5.11 snv_45 August 2006
$ echo $HOME
/home/test2
$ pwd
/home/test2
$ ls -ld $HOME
drwxr-xr-x 75 test2 root 3584 Aug 13 20:06 /home/test
bash-2.05# telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SunOS 5.9
login: test2
Password:
No directory! Logging in with home=/
Last login: Fri Aug 11 14:55:52 from :0
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
bash-2.05$ echo $HOME
/
bash-2.05$ pwd
/
bash-2.05$ ls -ld $HOME
drwxr-xr-x 43 root root 1536 Aug 15 09:15 /
bash-2.05$
Last edited by capricorn80; 08-14-2006 at 11:47 PM.
You Wrote that
By the way, the usual convention is to have the home directories on /export/home/<username> not /home/<username>.
So i change it to /export/home/test2
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
You are confusing the physical location of directories shared by the NFS server with the logical home directories.
In that previous post, I was talking about physical location which are indeed by convention /export/<something>. I was later asking you to try "ls -ld /home/test2" on the client machine, which should have lead you to understand the difference.
Home directories have always been under Unix, and still are /home/<username>, so revert test2 homeDirectory attribute to its correct value and see what's happen.
listen sir its been really confusing .
Now you are saying that i should give the path of user in Home Directory attribute in the Directory Server like this /home/test2 ???? .
well i did this in office i change it n try to login from client. But i will try it again tomorrow.
If i misunderstand something plz do let me know.
thx
wait a min well
I was later asking you to try "ls -ld /home/test2" on the client machine..
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by capricorn80
listen sir its been really confusing .
Now you are saying that i should give the path of user in Home Directory attribute in the Directory Server like this /home/test2 ???? .
Absolutely.
Quote:
well i did this in office i change it n try to login from client. But i will try it again tomorrow.
If i misunderstand something plz do let me know.
thx
wait a min well
I was later asking you to try "ls -ld /home/test2" on the client machine..
ok i will check it.
listen can we implement quota on users using Directory Server? i mean test2 user can assign only 50 MB like we do in Active Directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.