Re: Question restricting ssh access for some users only

From: Jeremie Le Hen (jeremie_at_le-hen.org)
Date: 10/09/04

  • Next message: Abe Usher: "MonkeyShell: using XML-RPC for access to a remote shell"
    Date: Sat, 9 Oct 2004 15:49:25 +0200
    To: "Peter C. Lai" <sirmoo@cowbert.net>
    
    

    > 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
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
    

  • Next message: Abe Usher: "MonkeyShell: using XML-RPC for access to a remote shell"