Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-28-2006, 06:32 PM
|
#1
|
Member
Registered: Dec 2001
Distribution: Debian unstable
Posts: 36
Rep:
|
need some general help with remote logins
So I work in this lab and we have a small network setup, which is currently only two computers strong but will soon be four. That doesn't really matter. Anyway, the Computer Science department has one Linux lab on campus where everything's done remotely. That is, when you login, it's authenticated remotely and then your home directory from a central server is mounted at /home. I've got no idea how to accomplish this. I've done some research and found Kerberos and RADIUS. Kerberos seems a little too involved for what we're doing, plus it scares me. I know RADIUS isn't technically meant for this kind of thing, but the documentation I've read says that it will work fine. I installed FreeRadius on the server, but haven't gotten a chance to try it. But assuming this still works, how do I mount a remote home directory?
Honestly, I would love to just use SSH somehow, perhaps in conjunction with sshfs or something, but again, I've got no idea how to actually force a remote login or anything. It would be great if someone could just point me in the right direction.
(Debian Etch Beta 1)
Thanks,
Andrew
|
|
|
02-28-2006, 10:05 PM
|
#2
|
Member
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624
Rep:
|
Why not just NFS share the home directories and keep them permanently mounted on all the clients? A lot less involved than Kerberos/RADIUS and probably less prone to failure.
|
|
|
03-01-2006, 02:51 AM
|
#3
|
Member
Registered: Jan 2005
Location: Lviv, Ukraine
Distribution: Something self-made
Posts: 69
Rep:
|
you can try to setup PAM to use pam_mount module for mounting remote shares as home directory and pam_mysql or pam_dbpasswd for authentication if you don't want to dig in kerberos, ssl, ldap etc.
|
|
|
03-01-2006, 11:57 AM
|
#4
|
Member
Registered: Dec 2001
Distribution: Debian unstable
Posts: 36
Original Poster
Rep:
|
I did the NFS mount thing, and that's fine. What I don't want to do, however, is have to create accounts on every workstation. I don't really feel that comfortable using pam-mysql, but even if I did, how would I go about telling the clients to authenticate against a MySQL server on a remote machine? Isn't there a (secure) way to have the client's login program authenticate against /etc/passwd on the server? I thank you both for your help, but I'm still rather lost.
|
|
|
03-01-2006, 02:48 PM
|
#5
|
Member
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: RH, SL
Posts: 37
Rep:
|
Try using NIS for centralized logins
What is recommended for use in this situation, is called NIS - Network Information Services. It lets you have centralized accounts and logins on the server, and you don't need to create users on each machine.
Check out the following step-by-step tutorial:
http://www.linuxhomenetworking.com/linux-adv/nis.htm
Just for reference, in our lab with 8 computers, we just set up the accounts by hand on each machine, since there are only new users added about once every 4 months at most. Of course if you are adding or changing users more frequently, or have a lot more machines to configure, then NIS will do it all for you.
Hope this helps.
- Dave Asgeirsson
|
|
|
03-01-2006, 04:20 PM
|
#6
|
Member
Registered: Dec 2001
Distribution: Debian unstable
Posts: 36
Original Poster
Rep:
|
Fantastic. I just used that tutorial and everything's working just as I had envisioned. Thanks very much.
Andrew
|
|
|
All times are GMT -5. The time now is 10:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|