mynote/ubuntu/user.md
2019-01-30 17:16:51 +08:00

269 B

user

create user

useradd git

# 制定用户默认的shell
chsh git -s /bin/bash


# 更改权限
chown -R git:git /home/git

auth

## 只修改文件权限 -type d 为修改目录权限
find workspace -type f -exec chmod 644 {} \;