linux种普通用户加入ROOT组的方法
linux种普通用户加入ROOT组的方法: 第1种方法:修改/etc/passwd文件(不推荐) 第2种方法:usermod -G 组帐号,.. 用户帐号========================================passwd文件格式一般如下: guest:!:100:100::/home/guest: nobody:!:429496
   ·  
 linux种普通用户加入ROOT组的方法: 
  第1种方法:修改/etc/passwd文件(不推荐) 
  第2种方法:usermod   -G   组帐号,..   用户帐号
========================================
passwd文件格式一般如下: 
  guest:!:100:100::/home/guest: 
  nobody:!:4294967294:4294967295::/:
如上就应该将guest   用户第2个100改为0;nobody用户的4294967295改为0; 
  则guest,nobody用户都为root组的用户。
更多推荐
 



所有评论(0)