Recommended syntax for /etc/auto_home file?

Recommended syntax for /etc/auto_home file?

Post by Kenny McCorma » Thu, 30 Mar 2000 04:00:00



Let's say you have two machines, A & B.  Machine A has user's home
directories.  Machine B has the following in /etc/auto_home:

# Home directory map for automounter
#
tom     machineA:/export/home/&
*    machineA:/export/home/&
harry   machineA:/export/home/&

Now, each time you add a new user, you have to remember to update this file.

Is it possible to do something like:

*       machineA:/export/home/&

Is there any security hazard in doing so?

 
 
 

Recommended syntax for /etc/auto_home file?

Post by Casper H.S. Dik - Network Security Engine » Fri, 31 Mar 2000 04:00:00


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>Is it possible to do something like:
>*   machineA:/export/home/&

Yes, why else do you think the wild card exists?

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

Recommended syntax for /etc/auto_home file?

Post by Kenny McCorma » Fri, 31 Mar 2000 04:00:00




Quote:>>Is it possible to do something like:

>>*       machineA:/export/home/&

>Yes, why else do you think the wild card exists?

Yes - the man page was pretty clear that it would work.

However, the admin on a particular system was in the habit of doing it the
hard way (adding a line for each new user) - and I wanted to know if there
was any good reason for doing it that way.  I.e., whether there was any
security hazard associated with using the wildcard like that.

Sounds like the answer is no.

 
 
 

Recommended syntax for /etc/auto_home file?

Post by Casper H.S. Dik - Network Security Engine » Fri, 31 Mar 2000 04:00:00


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>Yes - the man page was pretty clear that it would work.
>However, the admin on a particular system was in the habit of doing it the
>hard way (adding a line for each new user) - and I wanted to know if there
>was any good reason for doing it that way.  I.e., whether there was any
>security hazard associated with using the wildcard like that.

The wild allows you to mount anything not just home
directories from that specific directory; other than that, it's the same.

Once you have multiple home partitions, you have to use a single
line per user.
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

1. help auto_home nis+ syntax

I thought that in the auto_home file one could specify two nfs servers eg:-
george  server1:/export/home/george  server2:/export/home/george2
so that it acts as a failover shuld one be unavailable
Is this correct , and  if so what is the delimiter between these  two
servers , is it a comma , space or what ?
I just cant get it to work using nis+
The first nfs  server is on the nis master and the second on the replica !
With a comma delimiter the home directory fails to mount, with a space the
second mounts all the time.

George

2. Sol 2.5 Alternate Login Shells???

3. Syntax etc. of Apache .htaccess file

4. ipchains & ports

5. syntax error neat line 11 in file /etc/lilo.conf

6. Dump that OEM (in Europe)

7. bad service syntax in config file (/etc/inetd.conf)... last message repeated 37 times

8. Ports and OpenOffice/StarOffice

9. /etc/ypgroup file parameters/syntax......

10. vim Syntax file for SPEC files

11. syntax cmd awk to convert unix file to dos file

12. Syntax Error in /etc/default/lang ...

13. syntax for setting parameters in /etc/system (required for oracle server)??