Home | Mirror | Search | ITEYE 博客 | OSChina 博客 | 51CTO 博客

第 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
		
comments powered by Disqus