A query regarding /export/home in Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris A query regarding /export/home in Solaris
# 1  
Old 04-05-2009
A query regarding /export/home in Solaris

Friends,
I am new to Solaris, but familiar with Linux. Could you throw some light on the need for /export/home directory in Solaris.
In Linux, the default home directory for a normal user is /home/<username>. If domain concept is implemented, then the /home directory of server will be mounted by the client, either via mounting in /etc/fstab or via autofs.
But in Solaris, there are 2 directories /home and /export/home. I am confused with the need for this. Each time a user is created we need to specify as
useradd -d /export/home/<username> -m <username>.
if I give
useradd <username>,
the /etc/passwd shows /home/<username> as the home directory, but when the user logs in it says
no home directory...Why is this so...
I think this is something related to sharing and autofs concept but not clear...
pls help.
thanks a lot......
# 2  
Old 04-05-2009
The usual way is to set-up automounting for /home, either locally or remotely via NFS.
Alternatively, you can disable /home automounting and use /home as a regular home directories root.
# 3  
Old 04-05-2009
ok thank you.. but pls spare a few minutes to let me know how this /export/home concept comes into picture during automounting. when I look at /etc/auto_master it just has /home and in /etc/auto_home, there is just +auto_home. probably, I have not studied more on this concept.....thank u
# 4  
Old 04-05-2009
Solaris default settings assume home automounting is already set-up in a remote name service like NIS or LDAP.

If this isn't the case like in a standalone configuration, you can add the following line in /etc/auto_home file:

* -fstype=lofs :/export/home/&

Alternatively, you can simply remove the /home line in /etc/auto_master and use /home the traditional way.
# 5  
Old 04-06-2009
thank u.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Migrate /export/home from storage path to local

I am newbies in solaris, hope u guys can help me, I need to transfer /export/home directory that currently mount at storage and migrate into local disk. may i know the best way to do it? Thanks (6 Replies)
Discussion started by: Deeo
6 Replies

2. Solaris

how to change /export/home/user dir to /home /user in solaris

Hi all i am using solaris 10, i am creating user with useradd -d/home/user -m -s /bin/sh user user is created with in the following path /export/home/user (auto mount) i need the user to be created like this (/home as default home directory ) useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies

3. Solaris

Quotas on /export/home

Hello all, I am trying to set quotas on /export/home filesystem for some of our users on a Solaris Zone I know that you would be redirecting me to some of the documentation pages, but I have already done that. The /export/home on the Zone is a Veritas FS and I cannot see an entry for... (4 Replies)
Discussion started by: grajp002
4 Replies

4. Shell Programming and Scripting

to create a export query from a file

Hi Guys,,, I have a file which is of this type. abdc defd afds adfse I want to create a export statement like this. Db2 "export to /clocal/rem/user/rem/used.txt of del select * from t.tel where name in ('abdc','defd','afds','adfse') with ur" Please help me.. Thanks for... (2 Replies)
Discussion started by: mac4rfree
2 Replies

5. UNIX for Dummies Questions & Answers

/export/home question

please could someone explain what is /export/home used for ? (1 Reply)
Discussion started by: venhart
1 Replies

6. Solaris

automountd [24] : Mount of /export/home problem

Hi Guys, Thanks for taking the time to read the problem i having outlined below: Before i go into the problem can you please tell me what the following means? a. "dt" stands for and what does it means? Configuration Below: 1x Unix Server 2x Unix Terminals (both systems are... (3 Replies)
Discussion started by: tlee
3 Replies

7. Solaris

need script for locked and unused user accounts in /export/home directory

Hi all, i have to need one script: 1. it will capture the unused user accounts in /export/home directory. 2. it will capture the locked user accounts in /export/home directory. Note: locked accounts will show in /etc/passwd like /bin/false --> (instead of ksh it will show false) the... (1 Reply)
Discussion started by: krishna176
1 Replies

8. Solaris

Relocating directory /export/home to a bigger filesystem

My 2GB /export/home/ directory is almost 100% full df -k | grep /export/home /dev/vx/dsk/rootdg/vl73 2031711 1951009 19751 99% /export/home I intend to relocate it to a different 4GB filesystem late at night when there is no user on the system. How do I go... (3 Replies)
Discussion started by: Msororaji
3 Replies

9. Shell Programming and Scripting

Export Query not Working in Shell

I am exporting data using a shell program. I am getting all of the records instead of getting a subset based on my query. The export_problem.par lists all of my tables. I tried the query with the ' and without it. How do I get the export to use the query? Thanks! ... (1 Reply)
Discussion started by: GEBRAUN
1 Replies

10. UNIX for Dummies Questions & Answers

Problems with /export/home

I'm having a problem with my /export/home directory. A few of my users are getting superblock problems when they try to save files. what's something I can do to fix the problem? I'm running Solaris 7 on an Intel so no Open Boot Prom... any help would be great. thanks.. ,AP (2 Replies)
Discussion started by: Anthony
2 Replies
Login or Register to Ask a Question