- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- NIS:running on linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 11:16 AM
01-02-2004 11:16 AM
NIS:running on linux
Sorry for posting the Linux problem in HPUX forum.I know you guy are both expert in LINUX and HPUX.
I have NIS running on LINUX.This was a legacy system.Somehow,the NIS can move the home directory to whereever you logon.
In the NIS,I saw a file call auto.home which specify where the home directory for the particluar user.
Here are the content of the file :
ssteve serverA:/home/ssteve .
This meaning that ssteve home directory are in server A.
But when ssteve logon to server B it will auto mount serverA:/home/ssteve to server B.
My problem is we have a new machine and it is not auto mount.
I also plan to move this to HPUX but is HP NIS capable of auto mount the home directory?.
Any plan on how to move is great ?.
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 12:06 PM
01-04-2004 12:06 PM
Re: NIS:running on linux
Any help ???..sorry for posting lunix "thingi".
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 06:15 PM
01-04-2004 06:15 PM
Re: NIS:running on linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 08:27 PM
01-04-2004 08:27 PM
Re: NIS:running on linux
Is the automount facility running on your new machine?
# ps -ef | grep auto
It's likely to be autofs.
If not, have a look in /etc/rc.config.d/nfsconf - automounter is started in here, look for:
AUTOFS=1
AUTOMOUNT_OPTIONS="-f $AUTO_MASTER"
AUTOMOUNTD_OPTIONS=""
This also means that /etc/auto_master should incorporate NIS, i.e. have
+auto_master as the last entry.
Hope this helps,
Gary Cooper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 08:55 PM
01-04-2004 08:55 PM
Re: NIS:running on linux
I guess the client - so
1. the autofs service should be up - "chkconfig autofs on"
2. See that you don't have firewalling problems that are blocking RPC traffic.
3. See that the portmap service is up -
service portmap start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 09:02 PM
01-04-2004 09:02 PM
Re: NIS:running on linux
I have never set this up on Linux but the general principal will be the same as on HPUX.
On HPUX, you need to have "autofs" running as described in previous posts. The machine that has the home directories locally needs to have the "/home" directory in /etc/exports and "exportfs -a" needs to be run on it.
From this point on, there needs to be a file on each "client" machine called /etc/auto_master that has something like "/- /etc/auto_homes.map" in it. This is the name of another file that contains the actual mount options. It might look like this
/home/user1 -soft serverA:/home/user1
Now, in theory when the user logs in, it should mount the directory from serverA.
NIS might come in to play if the "auto_homes.map" is kept synchronised between "clients" using NIS. In this case, you would need to push out these maps using "yppush" each time you edited them.
You do not, however, need NIS to get it all working and you can edit the files map file manually on all the clients just to get it tested and working. After that, you can get NIS to manage them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 04:11 AM
03-23-2004 04:11 AM