LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 841|回复: 4

slackware10里面包括pam模块吗?还是得我自己装?

[复制链接]
发表于 2004-12-9 09:56:42 | 显示全部楼层 |阅读模式
我安装salckware10的时候,进行了比较严格的定制。
今天需要配置vsftpd的时候,要使用到pam,发现我没有/etc/pam.conf,是不是我有什么没有安装?那么,要怎么安装呢?谢谢。
发表于 2004-12-9 10:04:35 | 显示全部楼层
没有这个东东。

如果你需要PAM论证的话,只能自己安装

如果./configure通不过,检查你的patch里是否请求了-lpam

自己试着google吧,HOHO关于slackware的PAM能得到的答案太少。
 楼主| 发表于 2004-12-9 10:15:38 | 显示全部楼层
我刚找到一个。。。。看来我得想个办法去找vsftpd不使用pam的验证,而不是去装一个pam.

n/openssh-3.7.1p2-i486-1.tgz:  Upgraded to openssh-3.7.1p2.
  This fixes security problems with PAM authentication.  It also includes
  several code cleanups from Solar Designer.  Slackware does not use PAM and is
  not vulnerable to any of the fixed problems.
  Please indulge me for this brief aside (as requests for PAM are on the rise):
    If you see a security problem reported which depends on PAM, you can be
    glad you run Slackware.  I think a better name for PAM might be SCAM, for
    Swiss Cheese Authentication Modules, and have never felt that the small
    amount of convenience it provides is worth the great loss of system
    security.  We miss out on half a dozen security problems a year by not
    using PAM, but you can always install it yourself if you feel that
    you're missing out on the fun.  (No, don't do that)
  OK, I'm done ranting here. :-)
 楼主| 发表于 2004-12-9 10:23:52 | 显示全部楼层
想想觉得真的有点可笑,vsftpd号称最安全的ftpd,但在很多地方得大量使用pam来认证,而slackware告诉我们,pam不安全,这。。。让我们怎么选择,看来得发信给vsftpd开发组问问。。。
发表于 2004-12-9 11:42:27 | 显示全部楼层
是的,确实slackware告诉我们,出于安全的考虑,他们没有集成pam软件。
不过还是可以手动安装的。
下面我们还有安装Linux-PAM-0.77.tar.gz使slackware下可以使用pam
下载地址
http://www.kernel.org/pub/linux/libs/pam/pre/library/

PAM安装

  1. tar zxvf Linux*
  2. cd Linux-PAM-0.77
  3. ./configure
  4. make
  5. make install
复制代码


现在你的系统已经可以使用pam了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表