Difference between revisions of "Groupadd"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Draft}}{{lc}} | {{Draft}}{{lc}} | ||
− | + | https://man7.org/linux/man-pages/man8/groupadd.8.html | |
groupadd YOUR_NEW_GROUP | groupadd YOUR_NEW_GROUP | ||
[[groupadd -g]] 1009 YOUR_NEW_GROUP | [[groupadd -g]] 1009 YOUR_NEW_GROUP | ||
+ | <code>sudo groupmod -n [NEW_GROUPNAME] [OLD_GROUPNAME]</code> | ||
== Related term == | == Related term == | ||
* <code>[[useradd]]</code> | * <code>[[useradd]]</code> | ||
* [[chgrp]] | * [[chgrp]] | ||
− | * [[groupdel]] | + | * <code>[[groupdel]]</code> |
* [[addgrp]] | * [[addgrp]] | ||
* <code>[[usermod]]</code> | * <code>[[usermod]]</code> | ||
* <code>[[groups]]</code> | * <code>[[groups]]</code> | ||
+ | * <code>[[groupmod]]</code> | ||
+ | * <code>[[usermod -l]]</code> | ||
== See also == | == See also == | ||
* {{useradd}} | * {{useradd}} | ||
* {{groups}} | * {{groups}} | ||
+ | * {{GID}} | ||
* {{Linux Commands privileges}} | * {{Linux Commands privileges}} | ||
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 14:17, 28 December 2023
This article is a Draft. Help us to complete it.
https://man7.org/linux/man-pages/man8/groupadd.8.html
groupadd YOUR_NEW_GROUP groupadd -g 1009 YOUR_NEW_GROUP
sudo groupmod -n [NEW_GROUPNAME] [OLD_GROUPNAME]
Related term[edit]
See also[edit]
useradd, adduser
(BusyBox),usermod, groupmod
,userdel
,groupadd
,dscl
,/Users/, groups, id
chgrp
,groupadd, groups, groupmod
- GID,
chgrp, groups, groupadd, groupdel, /etc/group, /etc/gshadow, getent group
sudo
,id
,visudo
,useradd
,userdel
,usermod
,groups
,passwd
,chown
,chmod
,chgrp
,groupadd
,groupdel
, Passwordless sudo, passwd (package),sudo --help
Advertising: