In FC4, pam_pwdfile.so is used to create a virtual user-Linux Enterprise Application-Linux server application information. The following is a detailed description. We 've been working on virtual users over the past few days. Now we have done a good job.
Here we will share the solution steps with you:
First everyone here to download pam_pwdfile-0.99 (installed friends can skip this step)
Http://cpbotha.net/pam_pwdfile.html
Install pam_pwdfile (very simple, I think: P)
1)
Download pam_pwdfile, and then do the following
# Wget http://www.us.kernel.org/pub/lin... ux-PAM-0.75.tar.bz2
# Bunzip2-c Linux-PAM-0.75.tar.bz2 | tar-xvf-
# Cd Linux-PAM-0.75/modules
# Tar-xzvf/you save the path/pam_pwdfile-0.99.tar.gz of pam_pwdfile-0.99.tar.gz (unzip it under modules, don't put it elsewhere .....)
# Cd ..
# Rm default. defs)
# Ln-s defs/redhat. defs default. defs)
Do this in Linux-PAM-0.75/(coming soon ......)
# Make
Make this step succeeded (don't look for me if not) will find a file named pam_pwdfile.so in the Linux-PAM-0.75/modules/pam_pwdfile-0.99,
Haha, all I need is it. Copy it to/lib/security/(this is important .....)
2) After the preparation is complete, configure virtual user
2-5) Create a New us.txt file that creates a virtual user as follows:
Qq: 123 (pp is a virtual user and 123 is his password)
Pp: 456
2-6) write the virtual user information to passwd_ftp (after this step, you can delete us.txt. For security, do not contact me if you forget your password: em11 :)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.