LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-27-2006, 07:25 AM   #1
Slim Backwater
Member
 
Registered: Nov 2005
Distribution: Slackware 10.2 2.6.20
Posts: 68

Rep: Reputation: 15
How to setup a Slackware "Domain" ?


I have several slackware boxes in my home and I want to learn how to centralize security. For now I've created user accounts with adduser on every machine.

I have experience with Windows Domains and understand that a workstation joins the domain and authenticates login requests to the domain controller. The workstation will also automatically create a home directory on the workstation if the login is sucessful. I don't have any idea what the Linux/ Slackware/ equivalent is.

A few terms have come up during my searching, Kerberos, OpenLDAP, PAM as have certain techniques such as exporting a /home on a server and mounting it on each client so that every user will have their home directory wherever they are. But I'm not sure how these pieces all fit together.

A more extensive question might be; how to setup a Slackware 10.2 lab of 25 computers for 200+ students. There's no way any Admin would run adduser on 25 computers for 200 students, no, there's gotta be a better way.

Thanks for any help.
 
Old 06-27-2006, 10:41 AM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
I believe you are looking for something like NIS. I am not familiar with it but if you do a google on it you should get all kinds of help.
 
Old 06-27-2006, 10:49 AM   #3
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
I recommend you take a look at OpenLDAP. The client comes with Slackware, and the server can be found at linuxpackages.net if you don't want to compile your own.

For using LDAP on Slackware, have a look at these links:
http://wombat.san-francisco.ca.us/fa.../cache/95.html
http://www.linuxjournal.com/article/8119
http://enterprise.linux.com/enterpri....shtml?tid=129
(in no particular order..)

NIS is great, but has no security (passwords in cleartext etc) - NIS+ is better, but used to be SUN proprietary, and is not maintained on Linux since LDAP gained popularity. For an open, flexible and reasonably easy system to administer, you can't go wrong with LDAP. O'Reilly has a good book about it too!

-Y1
 
Old 06-27-2006, 12:47 PM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Thanks Yalla-one,

I never knew about openldap. Will it allow windows authentication also by chance?
 
Old 06-27-2006, 01:00 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Samba and OpenLDAP together can emulate a Windows Domain (not Active Directory) and a Windows 2000/XP workstation won't know the difference.
Well, technically speaking, Samba can do this on it's own, but if you start about tens or hundreds of user accounts, LDAP as the backend is a lot smarter. Also, with Samba/OpenLDAP you can setup a Windows Domain distributed over multiple servers (to share the load and for better redundancy) and with one user database.

Eric
 
Old 06-27-2006, 08:49 PM   #6
Slim Backwater
Member
 
Registered: Nov 2005
Distribution: Slackware 10.2 2.6.20
Posts: 68

Original Poster
Rep: Reputation: 15
Wow. Thanks for the reading material. That's alot of new terms. I guess I'll start by trying to get an OpenLDAP server installed up and running. I think I'll start with this http://www.openldap.org/doc/admin23/quickstart.html. It seems that OpenLDAP can do alot, authentication, centralized contact list, automounting your home directory; are all I've read so far. Does this tie in with storing ssl keys (id_pub.key which I use for passwordless ssh sessions) or is that Kerberos? Do Kerberos and OpenLDAP get used together at all?
 
  


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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
"Domain name" in network setup? jnsg Linux - Networking 5 07-16-2005 01:53 PM
Slackware 10 setup problem. "error reading inode" xadis Slackware - Installation 5 01-20-2005 10:52 AM
Quesiton about "FIREWALL setting" in "SETUP"--please help out yuzuohong Linux - Networking 1 05-14-2002 11:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:51 PM.

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