Options: ? -a, --add USER??????????????? add USER to GROUP ? -d, --delete USER???????????? remove USER from GROUP ? -h, --help??????????????????? display this help message and exit ? -Q, --root CHROOT_DIR???????? directory to chroot into ? -r, --delete-password???????? remove the GROUP's password ? -R, --restrict??????????????? restrict access to GROUP to its members ? -M, --members USER,...??????? set the list of members of GROUP ? -A, --administrators ADMIN,... ??????????????????????????????? set the list of administrators for GROUP Except for the -A and -M options, the options cannot be combined.
2016-10-19
root是爸爸 ? 應該不能吧 ? 意思就是一個人應該不能有兩個爸爸 ? ? 爸爸可以有多個兒子 ? ? 你先試一下看能不能加進去,如果能那就root用戶下userdel -r username ? ?試試
2018-06-26
gpasswd -d kkk root
gpasswd -h:
Usage: gpasswd [option] GROUP
Options:
? -a, --add USER??????????????? add USER to GROUP
? -d, --delete USER???????????? remove USER from GROUP
? -h, --help??????????????????? display this help message and exit
? -Q, --root CHROOT_DIR???????? directory to chroot into
? -r, --delete-password???????? remove the GROUP's password
? -R, --restrict??????????????? restrict access to GROUP to its members
? -M, --members USER,...??????? set the list of members of GROUP
? -A, --administrators ADMIN,...
??????????????????????????????? set the list of administrators for GROUP
Except for the -A and -M options, the options cannot be combined.
2017-12-19
我只想說userdel是把用戶直接刪除掉,如果你想要把kkk轉(zhuǎn)移到其他用戶組直接使用usermod -g 目標用戶組組名 用戶名
2017-12-19
userdel 不是刪除用戶嗎
2017-03-30
同問同問,現(xiàn)在我也遇到這個問題了,oracle進了root組。我id他,他永遠都屬于root,我去查看/etc/group文件也改不了(因為root屁股后面,沒寫oracle)。我拿不出來他了。很煩躁
2016-11-05
http://idcbgp.cn/learn/111? ? ? ? ? ? 兄弟你可以把這一節(jié)的第三小節(jié)詳細看一下,應該就沒啥問題了