[Ale-study] Questions from Last Meeting

DJ-Pfulio DJPfulio at jdpfu.com
Mon Feb 27 15:46:45 EST 2017


On 02/20/2017 09:47 AM, DJ-Pfulio wrote:
> What are the differences between
> * useradd -g users bob
> * usermod -g users bob
> * usermod -Ga users bob
> * usermod -G users bob
> * useradd -G users bob
> * gpasswd -a bob users
> * gpasswd -A bob users
> * gpasswd -M bob users
> When would each produce unexpected results?
> Suggestion: play with some different groups.
> 

Which of these commands will add a group without removing any for bob?


More information about the Ale-study mailing list