For more information about the configurations of some services in Linux-Linux Enterprise applications-Linux server applications, see the following. CentOS5.1 is installed on the server, some services need to be configured, and some problems encountered are recorded.
Vsftpd:
When a local user logs on, the error "500 OOPS: cannot change directory:" is returned. The reason is that SELinux is working and needs to be turned off. Execute #/usr/sbin/setsebool-P ftpd_disable_trans 1;
If you want to restrict local users to log on only in their home directories, set chroot_local_user = YES. However, this poses a security risk according to the vsftp FAQ. In this case, you can open chroot_list_enable = YES and specify the user list file chroot_list_file =/etc/vsftpd/chroot_list, in the/etc/vsftpd/chroot file, list the user names that do not want to be restricted in the main directory. You can also set chroot_local_user to the default NO and set chroot_list_enable = YES and chroot_list_file to list the usernames that need to be restricted to the main directory in the/etc/vsftpd/chroot file.
Mysql:
By default, the password of the root user of the mysql administrator is a blank password. Use "mysqladmin password new password" to set a new password.
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.