Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

第 8 章 Users and Basic Account Management

目录

8.1. 添加用户
8.2. 删除用户
8.3. 修改用户信息
8.4. su - root
8.5. profile
8.5.1. shell
8.5.2. Changing user information
8.6. passwd file

8.1. 添加用户

# pw useradd www
# passwd www
		

添加新用户jerry并允许他su到root用户

# pw useradd jerry -G wheel
# passwd jerry
		
# pw useradd -n tom -s /bin/csh -m
# passwd tom