[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install script



Hi Michael,
it is working, but I do not know that it is a good news...

regards,
Laszlo

/:psql -d userdb -U userconsult -c "select * from passwd"
login | uid | gid | home | virtual_host | password | hardquota | startdate | stopdate | enabled | lastlogin
-------+-------+-------+---------------------------------------+--------------+-
---------+-----------+------------------------+----------+---------+-----------
test | 10000 | 10000 | /export/virtualmail/kishonti.hu/test | kishonti.hu |
123456   |      2000 | 2001-03-15 00:01:35+01 | infinity | t       |
test2 | 10000 | 10000 | /export/virtualmail/kishonti.hu/test2 | kishonti.hu |
qwertz   |      2000 | 2001-03-16 21:42:43+01 | infinity | t       |
alias | 10000 | 10000 | /var/qmail/alias | kishonti.hu |
       |      2000 | 2001-03-16 23:19:35+01 | infinity | t       |
lacka | 10000 | 10000 | /export/home/lacka | kishonti.hu |
911porse |      2000 | 2001-03-16 23:53:31+01 | infinity | t       |
(4 rows)


Michael Devogelaere wrote:

On Fri, 17 Mar 2017, Laszlo Kishonti wrote:

Ok, I am starting to understand this exit status thing:

/var/qmail/bin/qmail-getpw test2 kishonti.hu; echo $?
111

This normally means there's a permissionproblem accessing the
database or you supplied wrong values for the uid,gid,...-fields.
Could you try
psql -d userdb -U userconsult -c "select * from passwd"

Kindly regards,
Michael Devogelaere