Re: ulimit does not work correctly on remote ssh



On 2009-12-14 19:13, Rahul wrote:
Can I not allow users to change it themselves? Isn't that what the
limits.conf is for?

limits.conf is a configuration file for the pam_limits module.
Is your sshd configured to use PAM? Check if you have

UsePAM yes

in /etc/ssh/sshd_config file and if you have pam_limits module
in the session type of sshd service in PAM configuration.


--
mrg
.



Relevant Pages

  • Re: kde/kdm + nsswitch + ldap = nologon
    ... gdm offers pam integration by the description. ... openldap-sasl-client-2.4.11 Open source LDAP client implementation with ... CONSTRAINT=off "With Attribute Constraint overlay" ... # See slapd.conffor details on configuration options. ...
    (freebsd-questions)
  • Re: Ldap NSS PAM Samba
    ... I installed PAM which put ldap.conf.dist in /usr/local/etc. ... NSS, is that correct? ... if you like to edit configuration files that contain the exact same ... need to query the same LDAP server. ...
    (freebsd-questions)
  • PAM on steroids
    ... The following messages showed up in the log file today (look at ... I'ved tried reading the PAM configuration info, ... I cannot even shutdown from inside Gnome ...
    (comp.os.linux.setup)
  • pam-krb5 3.15 released
    ... I'm pleased to announce release 3.15 of pam-krb5. ... fixing a crash in pam-krb5 in a particular PAM configuration. ... pam-krb5 is a Kerberos v5 PAM module for either MIT Kerberos or Heimdal. ... Debian packages have been uploaded to Debian unstable. ...
    (comp.protocols.kerberos)
  • Re: Ldap NSS PAM Samba
    ... I installed PAM which put ldap.conf.dist in /usr/local/etc. ... PAM and NSS, is that correct? ... It is used for openldap and the ... likely looking for the LDAP server configuration, ...
    (freebsd-questions)