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.
As admin, I created user account called "forum", with password "forum", I tried to access user account, by logging out from admin account and relogin as user "forum", I received this error message:
"Unable to access home directoy. Click OK to start a Failsafe session, or Cancel to restart login"
Originally posted by zillah As admin, I created user account called "forum", with password "forum", I tried to access user account, by logging out from admin account and relogin as user "forum", I received this error message:
"Unable to access home directoy. Click OK to start a Failsafe session, or Cancel to restart login"
maybe as admin you can create a home directory for your user.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
This is not the best way to solve the issue.
First home directories should be in /export/home/<username>, not directly under /export, this is not mandatory, but is a convention with Solaris.
Second, home directories should be accessed through /home/<username>, this has been the common usage since the beginning of unix development.
To achieve that, you just have to add a line like this in the /etc/auto_home file:
<username> <hostname>:/export/home/<username>
e.g.:
forum mypc:/export/home/forum
or if you have a bunch of users:
* mypc:/export/home/&
The goal is to prepare the feature of sharing user's home directories between several hosts through NFS.
gedit /etc/auto_home
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)auto_home 1.6 03/04/28 SMI"
#
# Home directory map for automounter
#
+auto_home forum 193.225.160.177:/export/home/forum ######I added this line forum1 193.225.160.177:/export/home/forum1 ######I added this line forum2 193.225.160.177:/export/home/forum2 ######I added this line
I created manually these users in the /export/home
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
I think the way you specified the home directory location (by its IP address) implies NFS will be used to access it.
It would probably had worked without the need to launch the NFS service should you use the hostname instead of the IP address, but this is just a guess.
Anyway, the automounter is showing its full interest when the user's home directories is unique, whatever the server the user is connected to, and this implies NFS is enabled.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.