From charlesreid1

Revision as of 09:17, 28 October 2017 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Useful sysadmin-related tasks.

See also Deployment/New Node Checklist for some useful scripts and steps.

Users and Groups

To add groups:

groupadd ssl-certs

To add users:

useradd git

To modify users and add them to a group:

usermod -G ssl-certs git

Files and Permissions

Change group permissions of a file:

chgrp GROUP FILE