Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 2004 15:49:25 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        "Peter C. Lai" <sirmoo@cowbert.net>
Cc:        Jeremie Le Hen <jeremie@le-hen.org>
Subject:   Re: Question restricting ssh access for some users only
Message-ID:  <20041009134925.GD806@obiwan.tataz.chchile.org>
In-Reply-To: <20041008200739.GF243@cowbert.net>
References:  <3203DF3DDE57D411AFF4009027B8C36760563C@exchange-uk.isltd.insignia.com> <kp8dm054h3kcnm4chrm2gupsmospi6cnai@4ax.com> <20041008161812.GC806@obiwan.tataz.chchile.org> <20041008200739.GF243@cowbert.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Is there a way to enforce sshd login restrictions without using login(1)?
> (i.e. I want to enforce a specific umask for all ssh logins).

AFAIK this should be achievable using the PAM session facility.  But I
found no `pam_umask' module.  BTW it should be pretty easy to implement
by derivating an existing session module such as `pam_chroot'.

-- 
Jeremie Le Hen
jeremie@le-hen.org


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041009134925.GD806>