I have a several questions that annoying me,
I have been take a several test configure limits.conf
in redhat7.1 and redhat7.3 with all security update applied
that two system use pam-0.75
maxlogins conf in limits.conf don't work in groups ( @sign )
@users hard maxlogins 3

with this configuration, users that have users gid can still login more than 3
but if I use this,
test hard maxlogins 3

user test can login just 4, 
so what cause this? I don't modify any pam.d configuration, what file that I should 
modify to have limits.conf run?

I have checked with:
@lsof |grep limit
login have look the pam_limits.so


and one more question, 
how do I log, users that pass command with ssh client directly
@ssh [EMAIL PROTECTED] "uname -a;finger;ps axuww;df -h;ls -la /var/log"

should I recompile ssh?
because I found this not log in utmp or wtmp, just log in /var/log/secure with
less information




-- 
ichtus
------
Lewi Supranata .K
ICQ: 50643061
About Me :  http://lewi.f4boys.com 
Homepage :  http://mercury7.petra.ac.id/~ichtus
GnuPG Public Key :  http://mercury7.petra.ac.id/~ichtus/ichtus-keys2

Attachment: msg93104/pgp00000.pgp
Description: PGP signature

Reply via email to