获取 rsync 守护进程模块 uid 和 gid

问题描述

我在这样的服务器上的 /etc/rsyncd.conf 文件中设置了一些 rysnc 模块:

[build]
    path = /some/path
    read only = no
    uid = test
    gid = test
    comment = software Build area

[build_test]
    path = /some/other/path
    read only = no
    uid = test1
    gid = test1
    comment = software Build test area

我可以使用以下命令获取服务器上设置的所有 rsync 模块的列表:

>>> rsync server_ip::
build           software Build area
build_test      software Build test area

此命令仅返回作业的名称和相关注释。我怎样才能获得模块的 uids 和 gids。有什么命令吗?

更新: 更多详情请访问:https://linuxconfig.org/how-to-setup-the-rsync-daemon-on-linux

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)