Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

We have to do our own linux system administration.
I agree, it's a bad idea, we're just developers.
But it's what we are stuck with for now.
Here's our crib sheet.

Table of Contents

user admin

No Format

# adduser -p paSSwoRD

...

 aUser
# mkdir .ssh
# cd .ssh
# vi authorized_keys and paste in public key
# userdel -r aUser

groups

Here we append the dba group to the groups of the postgres user

Code Block

sudo /usr/sbin/usermod -a -G dba postgres

sed

global search and replace

...