05-27-2014
NIS created users without a home directory
Hi all,
So I have created two Centos machines. One is configured as a NIS master and the second is a NIS cleint. The NIS configs are all working perfectly.
I created a user nisuser on NIS Master and I can use it on the client. BUT it doesnt show a home directory . Ive been told there is something else like automount of autfs that I need to configure that will automount the home directory onto any client. I havent done any such configs.
Can you guys guide me as to what exactly I need to study or redirect me to a good tutorial ?
Regards
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. 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
4. UNIX for Dummies Questions & Answers
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
5. Solaris
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
6. UNIX for Advanced & Expert Users
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
7. Red Hat
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
8. UNIX for Dummies Questions & Answers
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
9. UNIX for Advanced & Expert 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
10. HP-UX
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
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)