restrict ssh access

Chuck Swiger cswiger at mac.com
Fri Apr 25 16:30:14 UTC 2008


On Apr 25, 2008, at 6:46 AM, Geert Geurts wrote:
> I've got a server running a ssh server, I want to enable ssh for the  
> use
> of sftp by a group of users, and limit their ssh access to just allow
> running passwd so they can change their default password. What  
> whould be
> the best/easiest way to acomplish this, or something similiar?

I wonder what would happen if you gave them a shell of "/usr/bin/ 
passwd"...?  :-)

-- 
-Chuck



More information about the freebsd-questions mailing list