Posted in Command Line, Linux Rename an User Group Binny V A July 15, 2008 5 Comments on Rename an User Group Rename a group groupmod -n new_group_name old_group_name Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.
Hi Binny, your command is wrong, the option “-n” must be written *after* the current name of the group we want to rename. Reply
^^^^ No, that’s wrong … the last arg is clearly the group name (old group name) you wish to modify. Reply
Hello, Binny is correct groupmod -n newname oldname I just tried it and it does work. If you put the -n last it does not work. Reply
groupmod -n newname oldname = tested and confirmed. It works. Thanks for this information Binny! Reply
Hi Binny,
your command is wrong, the option “-n” must be written *after* the current name of the group we want to rename.
^^^^ No, that’s wrong … the last arg is clearly the group name (old group name) you wish to modify.
Hello,
Binny is correct
groupmod -n newname oldname
I just tried it and it does work. If you put the -n last it does not work.
Yes,
Binny is right
groupmod -n newname oldname
If you put the -n last it does not work.
groupmod -n newname oldname = tested and confirmed. It works.
Thanks for this information Binny!