Skip to content

Commit

Permalink
fix adduser command on lantern setup
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Nov 15, 2024
1 parent d99ed75 commit d83a1e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rhizome/lantern/bin/configure
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ def setup_fs
r "sudo su -c \"echo '/dev/sdb #{$datadir} ext4 defaults 0 0' >> /etc/fstab\""

r "sudo addgroup --gid 1001 postgres"
r "sudo adduser -u 1001 --gid 100 --disabled-password --gecos '' postgres"

r "sudo adduser -u 1001 --system --quiet --home /var/lib/postgresql --no-create-home --shell /bin/bash --gid 1001 --gecos 'PostgreSQL administrator' postgres"
r "sudo chown -R postgres:postgres #{$datadir}"
end

Expand Down

0 comments on commit d83a1e4

Please sign in to comment.