NIS created users without a home directory

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support NIS created users without a home directory
# 1  
Old 05-27-2014
So autofs builds on NFS in the way that each directory will be mounted "on demand" and unmounted after a few minutes of inactivity. It is largely a pointless technology, but it still has its uses. The server set up is essentially the same. For the client setup, don't use the fstab entry, but rather, configure autofs and enable the autofs daemon with chkconfig.

I haven't done this in a while, but the following might work:
/etc/auto.master
Code:
/home /etc/auto.home --timeout 600

To /etc/auto.home:
Code:
* -fstype=nfs master:/home/&

Then restart autofs

---------- Post updated at 10:46 PM ---------- Previous update was at 10:44 PM ----------

Here's a concise set of examples.
http://www.linux-consulting.com/Amd_.../autofs-5.html
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

How to set variable for users with no home directory?

Hi I need to set $HISTFILE for a user with no home directory. How to go about it because this user does not have a .profilefile. (5 Replies)
Discussion started by: fretagi
5 Replies

2. UNIX for Advanced & Expert Users

Permissions on a directory in /home for all users

Hi, I have created a shared directory on /home, where all users on a certain group have read, write and execute permissions. I did this using chmod -R g+rwx /home/shared/ The problem is, when a particular user creates a directory within /home/shared, other users are not able to write to... (8 Replies)
Discussion started by: lost.identity
8 Replies

3. UNIX for Dummies Questions & Answers

User's home directory not being created

I am trying to create Oracle user. I will install oracle after that. But my problem is /home/oracle directory is not being created. bash-3.2# useradd -g oinstall -G dba,oper -d /home/oracle -m oracle cp: /home/oracle: Operation not applicable chown: /home/oracle: No such file or directory ... (3 Replies)
Discussion started by: hubatuwang
3 Replies

4. Red Hat

SSH lock users to the Home Directory

Hi friends, I must to give ssh connection to own customer. So I want to lock ssh user on own home directory. It is not necessery to reach other folders. I know that ftp user can lock on own folder but I don't know how to lock ssh user. I am waitting your kindly helps :D ---------- Post... (10 Replies)
Discussion started by: getrue
10 Replies

5. UNIX for Advanced & Expert Users

about the access permission of users home directory

RHEL5.0 As we know, when root create a new user, a new home directory will be created : /home/user I want to know what determine the access permission of /home/user . Thanks! (1 Reply)
Discussion started by: cqlouis
1 Replies

6. Solaris

Common Home directory for different users??

Hi Guys, I have a problem with configuring a server. this is a solaris 10 with sparc platform. I have setup so that the server is Authenticating through NIS but I dont want the server to Mount the Home directories. The users need to logged in through the CDE/display. I have over 200 users... (2 Replies)
Discussion started by: Luky
2 Replies

7. UNIX for Dummies Questions & Answers

lost /home/directory for users

I'm using HPUX 11i. The other day a user logon to the workstation and was not able to find the /home/directory (tom is the directory) I login myself and it is the same thing. The home directory is on the server, so I was thinking of using sam to map it again. does anyone know how to do it... (5 Replies)
Discussion started by: blizzgamer
5 Replies

8. UNIX for Advanced & Expert Users

Problem: Automounting Home directory for nis & nfs configuration doesn't work

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

9. UNIX for Dummies Questions & Answers

Home Directory Jail for Users

Hi, I am looking for a shell script (or any other way), that puts a user in a home directory jail. So for example, I have a user named richard and I don't want him wandering outside /usr/users/richard. I don't want him to cd to anywhere including cd .. Somebody said you can do that with... (3 Replies)
Discussion started by: mz043
3 Replies

10. UNIX for Dummies Questions & Answers

Profiles for users without home directory

Hi I want to know which profile will be called when a user without home directory is created. When I created a user without home directory(by setting in /etc/default/useradd), the user is able to login directly into the main "/" folder but with only read permissions. Thanks naina (3 Replies)
Discussion started by: naina
3 Replies
Login or Register to Ask a Question
ypwhich(1)						      General Commands Manual							ypwhich(1)

NAME
ypwhich - determine which host is the current NIS server or map master. SYNOPSIS
ypwhich [-d domain] [-V1] [-V2] [hostname] ypwhich [-d domain] [-m[mname]] [-t[mapname]] ypwhich -x OPTIONS
Identifies which server is serving v.1 NIS protocol-speaking client processes. Identifies which server is serving v.2 NIS protocol-speak- ing client processes. If neither version is specified, ypwhich attempts to locate the server that supplies the current v.2 services. If there is no v.2 server currently bound, ypwhich attempts to locate the server supplying the v.1 services. Since NIS servers and NIS clients are both backward compatible, the user need seldom be concerned about which version is currently in use. Uses domain instead of the current domain. Finds the master NIS server for a map. No hostname can be specified with -m. The mname argument can be a mapname, or a nickname for a map. When mname is omitted, ypwhich provides a list of available maps. Inhibits nickname translation and is useful if there is a mapname identical to a nickname. Displays the map nickname table. This option lists the nicknames (mnames) that the command knows of, and indicates the mapname associated with each nickname. DESCRIPTION
The ypwhich command identifies the Network Information Service (NIS) server that currently supplies NIS services to an NIS client. It also identifies which NIS server is the master for a map. If invoked without arguments, ypwhich returns the host name of the NIS server for the local machine. If hostname is specified, ypwhich checks that machine to find out which NIS master it is using. Refer to ypfiles(4) and ypserv(8) for an overview of NIS. SEE ALSO
ypfiles(4), rpcinfo(8), ypserv(8), ypset(8) ypwhich(1)