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.
|
|
08-24-2007, 03:44 PM
|
#1
|
LQ Newbie
Registered: Aug 2007
Posts: 2
Rep:
|
SSH + Winbind Group Authentication Question
I have currently setup my linux box to accept user accounts from my Windows 2000 Active Directory Domain. Everything is working great and it is accepting all AD users.
Now I wish to secure SSH connections by group name. I am assuming I would just add the following line to the sshd_config file:
AllowGroups DOMAIN+groupname
However, this does not seem to work. Neither does AllowUsers at that matter.
I am able to run "getent groups" to receive group memberships and am able to verify that I am properly connected to the domain.
Guess my main question is: can I use WINBIND Groups in SSH security? If not, how else should I go about setting up this type of security?
If anyone needs to look at my code/logs, I will be more than happy to provide it.
THANKS TO ALL IN ADVANCE FOR HELP. Any suggestions or input will be appreciated.
|
|
|
08-28-2007, 05:33 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by ericspreher
can I use WINBIND Groups in SSH security?
|
Tried using "pam_winbind" in the auth and account parts of your /etc/pam.d/ssh* stack?
|
|
|
08-29-2007, 01:52 PM
|
#3
|
LQ Newbie
Registered: Aug 2007
Posts: 2
Original Poster
Rep:
|
[Solved] -- SSH +Winbind Group Authentication
Thanks for the reply and the help. I actually found the problem, but was waiting to make sure it worked. For some reason there was a gid restriction in the main pam security file. It was restricting it by the generated GID Number of certain AD groups. Know idea why it did that.
Anyways, once I remove the restriction, it worked like a charm.
One thing I should note is that I cannot use AD groups with SPACES in the name. I tried using double-quotes (") for the AllowGroups command, but it didn't seem to like it.
Do you know if a way to allow spaces in the group name for the SSH configuration? If not, no big deal.
Thanks again for your help.
|
|
|
All times are GMT -5. The time now is 01:37 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
|
|