在Linux中加用户加入组,用户和组均存在:

usermod -a -G sftp docker

j将用户docker 加入到sftp组。


参考:https://cnzhx.net/blog/linux-add-user-to-group/

Logo

更多推荐