Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-13-2009, 12:37 PM   #1
LQ Newbie
Registered: Sep 2008
Location: Altanta, GA
Distribution: RHEL 5, Fedora 8, Fedora 9
Posts: 9

Rep: Reputation: 1
RSSH for Active Directory Users

Hi all,

I have an issue that I can't seem to find an easy solution to.

I have a RHEL 5 joined to an AD domain and have several users that have scp and ssh access to this server.

Now I have to restrict some users to only scp access and chroot them to their home directory but I can't restrict their access to scp only without doing it for all users.

my smb.conf has the following line:

template shell = /bin/bash
So my dilemma is, if I change the template shell to /usr/bin/rssh, it will change it for every single AD user that connects to this server. But I don't know of any other way to restrict some AD users to scp only. Creating local accounts is really not ideal.

Is there a way to have multiple template shells(based on the user), change the shell in the background when the user logs in, or restrict an AD user to just scp without CLI access?

Thanks in advanced.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd with Active Directory Users odcheck Linux - Server 0 10-27-2008 09:50 AM
Authenticating Website Users against Active Directory deadlock Linux - Server 1 01-15-2008 05:10 AM
Active directory users to Samba users alexpacio Linux - Networking 0 05-19-2006 08:44 AM
Syncing users with Active directory alexpacio Linux - Networking 1 04-09-2006 05:15 PM
AUthenticat users in Active Directory through Squid sharma_arpit Linux - Networking 3 10-14-2005 07:40 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration