Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2008 09:30:13 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Geert Geurts <begeert@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: restrict ssh access
Message-ID:  <BCBF8C55-3A54-4DA7-AC76-32A217EFB4FB@mac.com>
In-Reply-To: <1209131161.14700.4.camel@puk>
References:  <1209131161.14700.4.camel@puk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BCBF8C55-3A54-4DA7-AC76-32A217EFB4FB>