Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed description of Linux file server (system user)

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

After the ftp anonymous user setting is completed, anyone can access server-side files, directories, and even modify and delete files and directories, so how to store private files and ensure that files or directories belong exclusively to the owner needs to be implemented by vsftp system users.

1. Create multiple users (useradd) in the linux system and set the password for the user

[root@www ~] # useradd xj1 [root@www ~] # useradd xj2 [root@www ~] # echo 123456 | passwd-- stdin xj1 [root@www ~] # echo 123456 | passwd-- stdin xj2

two。 Modify vsftpd configuration

Anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_std_format=YES listen=YES listen_ipv6=NO pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES

Summary

The above is the detailed explanation of the Linux file server (system users) introduced by the editor. I hope it will be helpful to you. If you have any questions, you are welcome to leave a message. The editor will reply to you in time!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report