03-01-2002
Well the home directory at least must be owned by the right uid. The the user on clientsystem had a uid of, say, 123, you really could just chown it to that numeric uid. Everything would work, however this situation bums me out. Therefore I would always ensure that the account exists on serversystem.
You can simply run the adduser program on both clientsys and serversys. Most folks would automate this somewhat. Other people copy passwd, shadow, and group around. Some people use rsync to automate the copy. Keeping 3 files in sync across several systems in a minor problem and there are dozens of solutions.
In the scenario we are describing, seversystem doesn't even need automounter running as I mentioned. If it doesn't need automounter running, it also wouldn't need any map file laying around. In fact, if /home is the location where these directories physically reside, it would be crucial that automounter not try to mount stuff there.
And bear in mind that you can't have it both ways. If you're not running NIS, then no entry in nsswitch.conf can specify NIS, including automount. So you can't use + in any maps. You have to modify the maps to be direct maps or something.
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi All,
Can any one help in Mounting remote filesystems with NFS?
Thanks in advance.
Regards,
Suresh. (4 Replies)
Discussion started by: srvaka1
4 Replies
2. UNIX for Advanced & Expert Users
Hi all,
First of all, i am so sorry about my bad level in English writing.
I have some problem in linux and i hope the experts of this forum to help me if they have enough time to reply to me.
I have a scenario of configuring NIS and NFS in Redhat Linux environment such that user can login... (0 Replies)
Discussion started by: pioneer
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time.
Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem..
Can... (1 Reply)
Discussion started by: KhawHL
1 Replies
4. UNIX for Dummies Questions & Answers
I have a NAS server that needs to have the share mounted on a unix server. I am not that familiar with NFS mounts....any help on what I have to do on the UNIX box...thanks! (7 Replies)
Discussion started by: andrewd
7 Replies
5. OS X (Apple)
Hello!
Im trying to mount an nfs share. But got a bit of a problem.
The problem im having is that i try to mount
The problem is that the my.server.com/pub/home is owned by root.
I know i can make a mount point my.server.com://pub/home/username - > /pub/home
But that means i have to do... (1 Reply)
Discussion started by: dozy
1 Replies
6. Solaris
Hi all,
I have to mount my home directory in one box, by default everyone's home directory will mount in all unix boxes which we have. But we have unmounted these home directories from some boxes to keep the data as safe. So for automation purpose i need my home directory only in those boxes to... (2 Replies)
Discussion started by: raghu.iv85
2 Replies
7. IP Networking
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;)
Below are the configs
/etc/exports on host
/home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies
8. UNIX for Dummies Questions & Answers
Hi
I have 2 servers, one is running on SunOS SPARC and the other is running on GNU Linux. Since my Linux is very poor I am not sure on how to mount a NFS from SunOS to Gnu Linux. Please help!
FS at Host Server:
root@rocux4 # ls -ld /data/PCFILES/GTPROD/DWHFILES.NEW
drwxrwxrwx 4 nobody ... (6 Replies)
Discussion started by: hedkandi
6 Replies
9. Shell Programming and Scripting
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
LEARN ABOUT SUNOS
automountd
automountd(1M) automountd(1M)
NAME
automountd - autofs mount/unmount daemon
SYNOPSIS
automountd [-Tvn] [-D name=value]
automountd is an RPC server that answers file system mount and unmount requests from the autofs file system. It uses local files or name
service maps to locate file systems to be mounted. These maps are described with the automount(1M) command.
If automount finds any non-trivial entries in either the local or distributed automount maps and if the daemon is not running already, the
automountd daemon is automatically invoked by automount(1M). automountd enables the svc:/network/nfs/nlockmgr service (lockd(1M)), and the
svc:/network/nfs/status service (statd(1M)), if NFS mounts need to be done.
At startup, the automountd daemon is invoked as is invoked as the system/filesystem/autofs:default service. See .
The following options are supported:
-D name=value Assign value to the indicated automount map substitution variable. These assignments cannot be used to substitute variables
in the master map auto_master.
-n Turn off browsing for all autofs mount points. This option overrides the -browse autofs map option on the local host.
-T Trace. Expand each RPC call and display it on the standard output.
-v Verbose. Log status messages to the console.
USAGE
See largefile(5) for the description of the behavior of automountd when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
/etc/auto_master Master map for automounter.
/etc/default/autofs Supplies default values for parameters for automount and automountd. See autofs(4).
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
svcs(1), automount(1M), svcadm(1M), autofs(4), attributes(5), largefile(5), smf(5)
The automountd service is managed by the service management facility, smf(5), under the service identifier:
svc:/system/filesystem/autofs
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using svcs(1). If it is disabled, it is enabled by automount(1M) unless the application/auto_enable property
is set to false.
3 Mar 2005 automountd(1M)