Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2484050
  • 博文数量: 609
  • 博客积分: 10061
  • 博客等级: 上将
  • 技术积分: 5920
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-25 08:30
文章分类

全部博文(609)

文章存档

2010年(13)

2009年(39)

2008年(558)

我的朋友

分类: LINUX

2008-09-12 23:01:08

Install Usermin
 

[1]     Install Authen::PAM and Net::SSLeay. Please reffer to install Net::SSLeay.

[root@www ~]# yum  -y install perl-Authen-PAM
 

[2]     install Usermin

[root@www ~]# wget
 
[root@www ~]# rpm -Uvh usermin-1.290-1.noarch.rpm

Preparing... ################################# [100%]

Operating system is CentOS Linux
   1:usermin ################################# [100%]
Usermin install complete. You can now login to
as any user on your system.

[root@www ~]# vi /etc/usermin/miniserv.conf

allow=127.0.0.1 192.168.0.0/24 // bottom: IPs you permit to access

denyusers=root // no root login

 
[root@www ~]# /etc/rc.d/init.d/usermin restart
Stopping Usermin server in /usr/libexec/usermin
Starting Usermin server in /usr/libexec/usermin


[3]     Access to 'https://(your hostname):20000'. Login with a user.




[4]     You can do various operations, for example changing password.



[5]     Usermin reffers /etc/passwd or shadow for user's password as the default, so it's impossible to change NIS password if you build it. Then change settings of usermin like following example to change NIS password from usermin.

[root@www ~]# vi /etc/usermin/changepass/config
#
passwd_cmd=file // line 5: make it comment

passwd_cmd=/usr/bin/yppasswd // add
 
[root@www ~]# /etc/rc.d/init.d/usermin restart
Stopping Usermin server in /usr/libexec/usermin
Starting Usermin server in /usr/libexec/usermin
 
阅读(1574) | 评论(0) | 转发(0) |
0

上一篇:POP介绍

下一篇:install pen under centos 5

给主人留下些什么吧!~~