Date: Tue, 8 Jul 2003 13:58:19 +0200 (CEST) From: Lukas Ertl <l.ertl@univie.ac.at> To: current@freebsd.org Subject: pgsql logged in on console - su/PAM problem? Message-ID: <20030708135357.Q16193@pcle2.cc.univie.ac.at>
next in thread | raw e-mail | index | archive | help
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@ 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 --=20 Lukas Ertl eMail: l.ertl@univie.ac.at UNIX-Systemadministrator Tel.: (+43 1) 4277-14073 Zentraler Informatikdienst (ZID) Fax.: (+43 1) 4277-9140 der Universit=E4t Wien http://mailbox.univie.ac.at/~le/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030708135357.Q16193>