开发者

Finding source code for login

开发者 https://www.devze.com 2023-01-15 08:12 出处:网络
I set \"user1 hard maxlogins 2\" i found \"logged in as user1 twice\" While logging for third time it said \"Too many logins\" - So i logged out \"logout\" from previous two logins ...even now it s

I set

"user1 hard maxlogins 2"

i found "logged in as user1 twice" While logging for third time it said "Too many logins" - So i logged out "logout" from previous two logins ...even now it says the same error msg

I can verify this using "who" command running as root and check pam.d/login looks fine too.

I think ,its bug with login binar开发者_JS百科y where can i found source for both login and limits.conf


On my ubuntu system:

apt-file search /bin/login

gives:

gforge-web-apache2: /usr/share/gforge/www/scm/viewvc/bin/loginfo-handler
login: /bin/login
userful-multiplier: /opt/userful/bin/login-server

so, on debian based distros, you can get the source for the "login" package:

apt-get source login

Edit Seems the actual package name is "shadow".

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号