LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2017, 08:23 AM   #1
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239

Rep: Reputation: 30
basic central user authentication in linux


Hi guys,

can you recommend some articles/guides that can help me set this up:

- i have 10 rhel 7.3 servers
- i have 10 users who need to access all these 10 servers and su into a main app account
- rather than created a user in each one and dealing with passwords per server, I was thinking of creating 2 of the these servers (one primary and the other secondary) with a very light central user authentication service.

- all i need is to:
-- able to login to any of the 10 with the same credentials
-- mount the user's home directory in /home/nfs/<username>


thank you in advance.
 
Old 10-31-2017, 08:42 AM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
A system doing exactly this is NIS. Formely called YP. This is ONE documentation page: http://www.yolinux.com/TUTORIALS/NIS.html. But there are many more if you google for "NIS howto".

It is very simple, does the job and is able to mount a home directory. It was designed for that. You have to make sure that users across all machines have the same uid:gid for a username:groupname.

The other option is LDAP. But IMHO more complicated. I never used it.

jlinkels
 
Old 10-31-2017, 01:43 PM   #3
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 759

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
IAR? https://nis-replacement.org Almost as much fun as a 'best easy distro' DDGoo
Any other factors (like M$evil AD)? Internet-reachable -> Security?
https://serverfault.com/questions/55...an-nis-or-ldap

Let us know what eventually works out (why&how well)

p.s. @sundialsvcs: LDAP opinions? Oh, my LQsearch-kungfu

Last edited by !!!; 10-31-2017 at 01:45 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Server Set up for Wireless Network and central login and authentication ooreade Linux - Networking 1 07-21-2012 08:38 AM
Use Apache Basic Authentication with user-created form ClarkWGriswold Programming 3 01-09-2008 03:51 PM
Alternative to Active Directory / out-of-the-box central authentication with Linux? superwormy Linux - Server 5 12-18-2007 12:00 PM
user authentication from central computer uros678 Linux - General 5 02-19-2004 12:48 AM
domain style central user authentication MadTurki Linux - Networking 2 01-26-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration