LinuxSir.cn,穿越时空的Linuxsir!

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

晕了,/etc/pam.d/下文件的命名问题?

[复制链接]
发表于 2003-6-25 10:00:59 | 显示全部楼层 |阅读模式
这是RH手册中的一段
------------------------------------------------------------
PAM Service Names
Each PAM configuration file in the /etc/pam.d/ directory is named after the service for which it controls access. It is up to the PAM-aware program to define its service name and install its PAM configuration file in the pam.d directory. For example, the login program defines its service name as /etc/pam.d/login.

In general, the service name is the name of the program used to access the service, not the program used to provide the service.  This is why the service wu-ftpd, defines its service name as /etc/pam.d/ftp.
---------------------------------------------------------
可是我的 pam.d/下的 secure shell对应的是sshd,改成ssh无效
samba服务用的是samba,为啥不用smbclient?
有的讲是 /etc/services中的名字,可大部分在这个文件中没有。

到底那里是定义这些服务名字的,有没有个标准?

晕了,还找不到其他文档
发表于 2003-6-25 10:05:52 | 显示全部楼层
我粗略看了下。samba里smbclient是smb的连接命令不是守护进程。sshd也是守护进程吧,但是根据wu-ftpd应该是ftp,但是为什么不能改做ssh……我不清楚了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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