postgresql/postgresql.sysusers
Timothée Ravier 98e117038e Use bash as login shell for postgres user
System users should use the nologin shell to deny logging as those are
not interactive users but a lot of existing documentation incorreclty
uses 'su' or 'sudo su' to create a shell under the postgres user for
PostgreSQL management.

Revert back to using '/bin/bash' as the login shell.

See: https://src.fedoraproject.org/rpms/postgresql/pull-request/60
Fixes: 3646f8d Use sysusers configuration to setup user & group
2023-07-13 19:25:02 +02:00

2 lines
59 B
Plaintext

u postgres 26 "PostgreSQL Server" /var/lib/pgsql /bin/bash