Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
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.
|
 |
07-21-2003, 01:12 AM
|
#1
|
Member
Registered: Jul 2003
Location: South Africa
Distribution: RedHat 9
Posts: 34
Rep:
|
Single Sign-On help
Hi to all.
I would like to setup Linux to use a Single Sign-On authentication process for all areas where authentication is used. I do not want to maintain 2+ user and password databases for my authentication.
I need to know what is recommended for a Sigle Sigh-On for say... Apache, Squid, SAMBA, and Linux itself?
Thanx guys and gals

|
|
|
07-21-2003, 01:41 AM
|
#2
|
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167
Rep:
|
" I would like to setup Linux to use a Single Sign-On authentication process for all areas where authentication is used. I do not want to maintain 2+ user and password databases for my authentication."
Single sign on means that you maintain a password database that grants access to applications/processesses that the single sign on is priveledged to access.
If you don't want to maintain the database, then you can't do single sign on for very long. If you were to maintain the database/server then you would be using LDAP as an authentication point. If you are in a windows environment, you would setup samba/ldap authentication to the PDC(your linux box).
Samba/CIFS is the lan protocol used for filesharing with windows machines. LDAP is what controls access priveledges similar to active directory for windows. Apache is what serves web pages. Squid is what cache's web pages to conserve bandwidth and filter content. The only relation between them would be Webmin administration. Other than that, they have nothing to do with the other.
|
|
|
07-21-2003, 01:52 AM
|
#3
|
Member
Registered: Jul 2003
Location: South Africa
Distribution: RedHat 9
Posts: 34
Original Poster
Rep:
|
Ok. Would I still need to create two users when I create a user for Samba.
This is what I want to prevent. I want to create one user and password that will be able to access my Linux server, connect to my Samba shares, use my Squid authentication onto the internet and authenticate to Apache for access to certain web content in a local intranet web site.
I need to create one user account per user in the company.
|
|
|
07-21-2003, 02:16 AM
|
#4
|
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167
Rep:
|
You can use PAM, which is the standard linux MD5 shadow password file. Just adduser MonkeyHo.
Samba can use PAM to authenticate users. You can set the same username and password for squid authentication if you wish.
Squid can also use PAM, but you would need to configure the proxy port number for each station. Unless you don't bother with authentication and do transparent squid proxy caching(it doesn't hurt anything to cache). Squid routing is controlled by routing ipness, not by a login name. You have to specify which class C or IP gets to have the internet by IP only.
And if you want to authenticate to a web page, you can surely do that, again with PAM. I don't know why you would want to do that, but that's your business.
And so, you can have your user login to a web page/samba/PAM with the same password as they all use PAM. The routing of internet web pages is not though- controlled by login, but by location(IP). The iptables/shorewall configuration on your proxy server/firewall cannot be dynamically configured depending on who logs into a client box that has nothing to do with it. That's not what proxy servers do.
You can set up rules for authentication to proxy, but that again is done by location since you have to type the l/p into every browser you want to give access too. And so it's a moot issue since you can just block their IP or Class.
|
|
|
07-21-2003, 02:40 AM
|
#5
|
Member
Registered: Jul 2003
Location: South Africa
Distribution: RedHat 9
Posts: 34
Original Poster
Rep:
|
You said 'Just adduser MonkeyHo'
Is that an example?
|
|
|
07-21-2003, 02:58 AM
|
#6
|
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167
Rep:
|
Yes, as root pick a name.. user, for instance
adduser user
This can also be done via linuxconf or webmin or whathaveyou.
|
|
|
07-21-2003, 05:23 AM
|
#7
|
Member
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263
Rep:
|
For samba, connecting to a remote (NT) server, does this mean that the entry in the fstab doesn't need a password defined if the user is a legitamate logged on linux username?
eg:
//server/share /mnt/share smbfs auto,username=user 0 0
rather than:
//server/share /mnt/share smbfs auto,username=user,password=password 0 0
Dave
|
|
|
All times are GMT -5. The time now is 06:06 AM.
|
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
|
|