Is There a Better Way to do UNIX Workgroups?
Pauly asks: "Here I am again setting up a new workgroup of UNIX workstations and servers in the traditional office arrangement. By traditional I mean many clients being authenticated by a naming service and mounting homedirs and other shares handled by centralized file servers. I can't help thinking there has to be a better way to do this. Even though this particular LAN is behind a reasonable firewall, I don't feel that NIS/NFS (and their derivatives) are designed securely enough for today's world. Even though I have gone to great lengths to secure the dmz, it just feels wrong to ignore the internal network. I don't have any legacy application or system requirements to keep me tied to NIS/NFS. All the clients will be OpenBSD, FreeBSD or Linux machine. Therefore, I am free to use the best-of-breed tools available today.
So I ask: How would you implement the traditional UNIX workgroup today and which of the latest and greatest tools available would you use?"
what more do you want ?
- Use Linux on the client end. It is scads more maintainable than
Solaris, and its remote filesystem capabilities are very well-refined and
debugged.
- Stay away from NIS+. Support is limited and the protocol itself is
complex and insecure.
- Stay away from AFS and Coda. They are very difficult to set up
properly, require running buggy code in kernel space, and force you to make
dedicated hard drive partitions to support them. They also overwhelm your
network to the breaking point.
- Use Kerberos for authentication. I've tried many different
implementations and found (surprisingly enough) that the UI and stability
on the Win2k Active Directory server is second to none. The MIT K5 KDC is
pretty nice too, but our admins prefer a GUI for user management.
- Use NFS tunneled over SSH for file distribution. Avoid having more
than one or two NFS mounts on each client machine, and always mount with
"-o soft,bg".
- Change host keys frequently to prevent trouble. I have set up scripts
to do this automatically every week.
- Set up your Kerberos server to log all activity to an SQL database, and
use any of the excellent pattern analysis tools (such as UserEye) to alert
you to suspicious activity.
- Make sure you use a switched network, so that nobody can sniff traffic
or engage in ARP spoofing.
Since the time when I set up this system, we have had zero security breaches, and I earned a large (double digit percent) raise.Good luck!
Bill
LDAP & PAM is the way to go. We recently implemented a single sign-on system @ work and it works great for 60,000 interal and about 150,000 internet users!
I believe there is an OpenLDAP implementation is Iplanet is too expensive.
Conformity is the jailer of freedom and enemy of growth. -JFK
But isn't Samba supposed to do this?
I asked a very similar question about a week ago but, got rejected. My question wasn't "what to use?" but, was "What does everyone use?" My downfall was that I asked for real world environments with multiple platforms. So, I'll ask again in the comments.
What is everyone using for user account management in shops that support *nix as well as Windows 2000 or others like Netware?
Surely everyone is not using NIS with its limitations. OpenLDAP seems like a logical choice but, how does one authenticate Windows 2000/XP to OpenLDAP, despite Microsoft's claims that Active Directory is LDAP compliant. Microsoft's Active Directory might be LDAP and Kerberos compliant in the loosest sense but, interoperability with Unix systems seems very elusive. So, what is everyone else doing centralize network management??
It's a pity that OpenBSD doesn't support this...
except for Kerberized and/or ssl'ed CIFS/SMB
it seems the finest solution (and any non-Windoze
CIFS/SMB client is a PITA).
My Karma isn't excellent, damn it! (And
For Unix (Solaris), we used NIS, and not NIS+. Why? because we trusted folks inside the firewal and NIS is nice and easy. For Windows, we used the standard Windows stuff.
Forgot to mention - this also works beautifully with Mac OS X, and that has various neat tools with it for the admin side...
Novell NDS works very well in mixed environments.
openLDAP+Krb5+openafs
sounds quite nice.
anybody used this ?
The latest OpenAFS client work really well in the latest versions of Windows, including XP.
AFS is good. The volume management is great, and you get real access control lists with groups. How about moving a users home directory to a different server, while the user is logged in? It's completly transparent. Or how about letting people create their own groups? That is useful. And there's proper authentication.
Random advice:
- Use Heimdal Kerberos 5 KDCs (plural for redundancy). Do not use the kaserver that comes with AFS.
- Put Heimdal and KTH-KRB (kerb 4) on all clients.
- Use OpenAFS servers.
- Use OpenAFS clients for Solaris, and Arla AFS clients for Linux 2.2.x. For Linux 2.4.x, OpenAFS clients might work better. I don't know, and probably it depends.
Finally: Do not trust your network. Ever!