Hi, can anyone explain why the pgsql user is logged in on console nowadays? # w 1:24PM up 3 days, 22:52, 3 users, load averages: 0.24, 0.40, 0.37 USER TTY FROM LOGIN_at_ IDLE WHAT pgsql console - Fri02PM 3days - Postgresql is installed from ports, and I never noticed that behaviour before. The startup script looks like this: ---8<--- case $1 in start) touch ${logfile} chmod 600 ${logfile} chown pgsql:pgsql ${logfile} [ -x ${PGBIN}/pg_ctl ] && { su -l pgsql -c \ "[ -d \${PGDATA} ] && exec ${PREFIX}/bin/pg_ctl start -s -w -l ${logfile}" echo -n ' pgsql' } ;; ---8<--- Could it be that su and/or PAM have a problem? regards, le -- Lukas Ertl eMail: l.ertl_at_univie.ac.at UNIX-Systemadministrator Tel.: (+43 1) 4277-14073 Zentraler Informatikdienst (ZID) Fax.: (+43 1) 4277-9140 der Universität Wien http://mailbox.univie.ac.at/~le/Received on Tue Jul 08 2003 - 02:58:27 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC