55

2月7日-qq5a60893cba05a的博客-51CTO博客

 6 years ago
source link: http://blog.51cto.com/13578826/2070035
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
su命令是用来切换用户的-是彻底的切换到用户su可以以普通用户执行命令mkdir/home/user1创建加目录chownuser1:user1/home/user1/更加属组和所有者ls-la/etc/skel/末班目录cp/etc/skel/.bash*/home/user1/拷贝目录chown-Ruser1:user1!$更改所有者和所这组sudo是临时给普通用户授权root的权限visud

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK