Unix/Sysadmin: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Useful sysadmin-related tasks. | Useful sysadmin-related tasks. | ||
==Users and Groups== | |||
To add groups: | To add groups: | ||
| Line 18: | Line 20: | ||
usermod -G ssl-certs git | usermod -G ssl-certs git | ||
</pre> | </pre> | ||
==Files and Permissions== | |||
Change group permissions of a file: | |||
<pre> | |||
chgrp GROUP FILE | |||
</pre> | |||
{{Unix}} | |||
Revision as of 16:47, 21 March 2017
Useful sysadmin-related tasks.
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
| GNU/Linux/Unix the concrete that makes the foundations of the internet.
Compiling Software · Upgrading Software Category:Build Tools · Make · Cmake · Gdb Bash Bash · Bash/Quick (Quick Reference) · Bash Math Text Editors Text Manipulation Command Line Utilities Aptitude · Diff · Make · Patch · Subversion · Xargs Security SSH (Secure Shell) · Gpg (Gnu Privacy Guard) · Category:Security Networking Linux/SSH · Linux/Networking · Linux/File Server Web Servers
|