What is the  pam service used with your tests ?

Because I have the same problem with ssh (/etc/pam.d/sshd) when likewise
is installed. I had to do a little substitution to fix it:

/etc/pam.d/sshd (original)
....

# Standard Un*x session setup and teardown.
@include common-session           <<<<< Likewise add a sufficient operation 
that ignore the other next operations

# Set up user limits from /etc/security/limits.conf.
session    required     pam_limits.so

# Print the message of the day upon successful login.
session    optional     pam_motd.so # [1]

# Print the status of the user's mailbox upon successful login.
session    optional     pam_mail.so standard noenv # [1]

...


/etc/pam.d/sshd (modified)
....

# Set up user limits from /etc/security/limits.conf.
session    required     pam_limits.so    

# Print the message of the day upon successful login.
session    optional     pam_motd.so # [1]

# Print the status of the user's mailbox upon successful login.
session    optional     pam_mail.so standard noenv # [1]

# Standard Un*x session setup and teardown.
@include common-session           <<<<< Likewise add a sufficient operation 
that ignore the other next operations

...

-- 
Increase ulimit -n
https://bugs.launchpad.net/bugs/283823
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to