LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-16-2004, 01:40 PM   #1
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
Centralizaed Accounts Database?


I've decided to start looking at how i can setup a small network with linux clients. Im an Ex-Windows IT guy.. so maybe im thinking to MS in trying to come up with a solution.. if i am.. smeone shoot me please

What I would like to have...

A Server (slackware ) that holds all the users of this network... For the clients to log in.. they have to have an account setup on this server.

I want all the clients to be setup to log onto this accounts machine. Now these will all be linux clients.. none of this Windows crap.

I wwould like for the clients home directories to map to the server, so basically the clients cannot write anything to their local harddrive at all. client-wise lets say there is 15-20 clients??

These are the basics I am looking for... can someone point me in the right direction, is there a website out there that explains this??


thanks:trey
 
Old 01-16-2004, 01:56 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
This is what you're after ...

NIS+



Cheers,
Tink
 
Old 01-16-2004, 02:03 PM   #3
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Rep: Reputation: 30
Re: Centralizaed Accounts Database?

Quote:
Originally posted by trey85stang
.. none of this Windows crap.
LOL thanks trey, that just made my whole entire week! haha
 
Old 01-17-2004, 07:39 AM   #4
dirstyGuy
Member
 
Registered: Jan 2004
Posts: 67

Rep: Reputation: 15
And, what network file system u r considering to use ? Well NFS is trivial, but I heard it is not that elegance, one of the vulnerability of older version of NFS is that it doesn't check back about the hostname trying to connect.

The vulnerability is that the hostname can be spoofed. If the network File Server is fooled, we can create every user we want it to be on our local system, login as that user, so then we ll have access to exported data on nfs of that user. But this should be long fixed. Am not that deep on that, but I think NIS should handels that authentication of the spoofing ..

I just interested to know, wut is the better Network File System currently ? Coda, Samba + any comment ?

TIA
 
Old 01-17-2004, 01:14 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by dirstyGuy
And, what network file system u r considering to use ? Well NFS is trivial, but I heard it is not that elegance, one of the vulnerability of older version of NFS is that it doesn't check back about the hostname trying to connect.
That what you have
/etc/hosts.allow
and
/etc/hosts.deny

Quote:
The vulnerability is that the hostname can be spoofed. If the network File Server is fooled, we can create every user we want it to be on our local system, login as that user, so then we ll have access to exported data on nfs of that user. But this should be long fixed. Am not that deep on that, but I think NIS should handels that authentication of the spoofing ..
And if you setup (as I learnt the other day) static
arp-tables on the server there's no spoofing, either,
because the MAC address can't be forged easily.


Cheers,
Tink
 
Old 01-17-2004, 02:10 PM   #6
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Original Poster
Rep: Reputation: 41
Re: Re: Centralizaed Accounts Database?

Quote:
Originally posted by Astro
LOL thanks trey, that just made my whole entire week! haha
it makes my day everyday.. to get to sit in front of a linux machine when i get home from work...
 
Old 01-17-2004, 05:51 PM   #7
dirstyGuy
Member
 
Registered: Jan 2004
Posts: 67

Rep: Reputation: 15
Quote:
Originally posted by Tinkster
And if you setup (as I learnt the other day) static
arp-tables on the server there's no spoofing, either,
because the MAC address can't be forged easily.
I hope so, as said that vulnerability should be fixed. Although I'm just a little bit untrusting as in my mind, I can setup my dns to answer the "back reference query of the NFS-server " to be the hostname as I want it to be. Though whether my dns is that, that the NFS server queries for is another question .

Afaik NFS worked over udp (connection less, other network FS maybe also), that mean the exported data is streamed to the network segment barely through the udport (at least in the early manifestation of nfs). I bet only authenticated host:user can force nfs-server to stream certain demanded data, say when we do "cd /nfs1/user1data, then /nfs1/user1 will be mounted on certain point on user1 FS-tree, what he access will be streamed through segment later (encripted ?)" Although not authenticated the data is subjected for scanning/mapping from any one who is physically (or through someway) connected to the network segment (isn't it ? sorry if my estimation wrong am still noobist on nfs).

Yeah that static arp-tables sound promising, still curious whether any gonna say something about coda or maybe other network file system just being popular

Last edited by dirstyGuy; 01-17-2004 at 09:30 PM.
 
Old 01-17-2004, 09:08 PM   #8
gmartin
Member
 
Registered: Mar 2003
Location: PA
Distribution: Slackware 13.37 Linux Reg # 341245
Posts: 285

Rep: Reputation: 40
Can we use LDAP?

So I have to ask - how could I use LDAP as my user database? Can I replace the standard linux auth system with an ldap based directory?

Ultimately I'd like ldap to hold my user info, sendmail info. apache authentication info and tikiwiki account. But lets start with login...references??
 
Old 05-14-2004, 07:10 PM   #9
OdieQ
Member
 
Registered: Jan 2004
Location: Stockholm, Sweden
Distribution: Debian, Slackware
Posts: 71

Rep: Reputation: 15
MAC addresses

Please do not rely on MAC addresses for security, the MAC address can be reset (on all but a few NIC's) with the command "ifconfig hw ether [MAC address]". Not to hard to spoof, in other words. Also, you can easily sniff out valid MAC addresses using common network inspection tools.

I haven't used LDAP myself, so the following information might not be entirely accurate. If I'm not mistaken, LDAP authentication requires Pluggable Authentication Modules (PAM), which is left out of Slackware due to it's shaky security track record, and from what I've seen of the source, it's a good call. PAM is however standard on many GNU/Linux distributions, so obviously a lot of people think it's safe enough.

To install PAM in Slackware, you need to first install PAM, and then recompile all packages that do authentication (at least shadow, perhaps some others as well) to make them PAM-enabled.

The quick and dirty approach is of course to write a script which periodically updates the local authentication files against LDAP, but that isn't necessarily any more secure than the alternatives.

I personally think the poor implementation of PAM is a major shortcoming of the GNU/Linux platform. It should be rewritten by someone who really understands secure programming.
 
  


Reply



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
samba accounts/ unix accounts Buzz88 Linux - Newbie 3 09-25-2005 08:16 AM
Snort database: Closing connection to database "" Homer Glemkin Linux - Security 2 07-14-2005 06:58 PM
qmail -- new accounts can't receive mail, but old accounts can b:z *BSD 1 07-13-2005 12:42 AM
user accounts metallica1973 Linux - Security 2 06-19-2005 05:35 PM
Accounts bhughesiii Linux - General 2 09-16-2004 01:54 PM

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

All times are GMT -5. The time now is 11:32 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