Yes, that would probably work. Thanks.

/HU
________________________________________
Från: [email protected] 
<[email protected]> för walter harms 
<[email protected]>
Skickat: den 19 maj 2017 17:00
Till: [email protected]
Ämne: Re: SV: Restrictions for password logins

Am 19.05.2017 16:34, schrieb Henrik Uggla:
> Permission to run one command, everything else should be denied.

why not modify .profile (or /bin/sh in /etc/profile) ?
anything else feels complicated.

re,
 wh


>
> /HU
> ________________________________________
> Från: Matt Johnston <[email protected]>
> Skickat: den 19 maj 2017 14:46
> Till: Henrik Uggla
> Kopia: [email protected]
> Ämne: Re: Restrictions for password logins
>
> On Fri, May 19, 2017 at 07:42:21AM +0000, Henrik Uggla wrote:
>> Hi!
>>
>>
>> How can I set restrictions, like those given in authorized_keys, to all 
>> password logins?
>
> Hi Henrik,
>
> You can't set all of those restrictions like command= though
> you can disable TCP forwarding at compile time in options.h
>
> What restrictions were you looking at?
>
> Cheers,
> Matt

Reply via email to