Multiple user config changes

Starting to make the system operable without using root.

Changes to groups, sudo, some file permissions.
Places all the user key config into users.pp
This commit is contained in:
Keith Whyte 2023-03-18 22:40:41 +01:00
parent 306bb24792
commit 51760b1bcf
8 changed files with 75 additions and 44 deletions

View file

@ -1,3 +1,4 @@
alias psql='psql postgresql://rhizomatica:<%= @pgsql_pwd %>@localhost/rhizomatica'
alias systemctl='sudo systemctl'
alias journalctl='sudo journalctl'
alias sudo="/usr/bin/sudo -n"

View file

@ -1,10 +1,9 @@
Include config.local
Host lc1
Hostname 172.16.0.11
User root
Host lc2
Hostname 172.16.0.12
User root
Host 172.16.0.??
User root
IdentityFile ~/.ssh/bts_key
Host 172.16.0.???
User ubnt
IdentityFile ~/.ssh/ubnt_key