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

25 lines
269 B
Markdown

# user
## create user
```bash
useradd git
# 制定用户默认的shell
chsh git -s /bin/bash
# 更改权限
chown -R git:git /home/git
```
## auth
```bash
## 只修改文件权限 -type d 为修改目录权限
find workspace -type f -exec chmod 644 {} \;
```