s*****h 发帖数: 6 | 1 想给一个用户增加到wheel group去,可以用su
有什么办法. | D***D 发帖数: 294 | 2 Try to edit passwd ?
【在 s*****h 的大作中提到】 : 想给一个用户增加到wheel group去,可以用su : 有什么办法.
| c*****t 发帖数: 1879 | 3 It's a bad practice to edit /etc/passwd and /etc/shadow files.
Although different unix systems provide different user add/del/mod
commands, you can do the following:
man -k user | grep -i change
to locate the command you can use and read the man pages...
【在 D***D 的大作中提到】 : Try to edit passwd ?
| m*****e 发帖数: 4193 | 4 no, it's /etc/group. Assuming he is not using NIS.
【在 D***D 的大作中提到】 : Try to edit passwd ?
|
|