How to add an existing user to an existing group
walter harms
wharms at bfs.de
Tue Sep 18 08:31:33 UTC 2012
Am 18.09.2012 09:52, schrieb Jan Pohanka:
>> Personaly, i use vi and edit /etc/group.
>> The last entry is a comma separated list of users.
>>
>
> Yes, this is an option, but in most distributions manual editing of
> /etc/passwd or /etc/group is not recommended...
>
If you prefer you can write an ed script that attaches the name.
What i would like to stress is that adding a user to a group is a nobrainer.
(execption:primary group) and because of that and because it is rarely needed
i never used a tool to add a user to a group.
re,
wh
More information about the busybox
mailing list