Bug#312393: [Logcheck-devel] Bug#312393: logcheck: The bug looks to be in the postinst script

Ritesh Raj Sarraf riteshsarraf at users.sourceforge.net
Wed Sep 7 08:32:40 UTC 2005


On Wednesday 07 Sep 2005 05:02, maximilian attems wrote:
> can you please provide the output of the following command on your system:
> adduser --quiet --system --no-create-home --group --home /var/lib/logcheck
> logcheck
>

root at laptop:~ # adduser --quiet --system --no-create-home --group 
--home /var/lib/logcheck logcheck

No output.  The command executed successfully

> you need to run aboves cmd as root, afterwards the output of that would be
> intersting:
> getent passwd logcheck
>

root at laptop:~ # getent passwd logcheck
logcheck:x:119:118::/var/lib/logcheck:/bin/false

> as aboves may fail, are you using selinux or grsecurity?
> what are you mount options, please send output of:
> mount

No, I'm not using any of them. /var is part of /
/dev/hda8 on / type ext3 (rw,errors=remount-ro,commit=0)

> also the plain output of this both may help:
> getent passwd

root at laptop:~ # getent passwd
root:x:0:0:root:/root:/bin/bash
sashroot:x:0:0:root:/root:/bin/sash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
postgres:x:31:32:postgres:/var/lib/postgres:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
operator:x:37:37:Operator:/var:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
rrs:x:1000:1000:Ritesh Raj Sarraf,,,:/home/rrs:/bin/bash
saned:x:104:104::/home/saned:/bin/false
dictd:x:105:105::/var/lib/dictd:/bin/false
identd:x:100:65534::/var/run/identd:/bin/false
sshd:x:101:65534::/var/run/sshd:/bin/false
dovecot:x:109:109:Dovecot mail server,,,:/usr/lib/dovecot:/bin/false
fetchmail:x:102:65534::/var/run/fetchmail:/bin/sh
postfix:x:103:107::/var/spool/postfix:/bin/false
uml-net:x:113:113::/home/uml-net:/bin/false
messagebus:x:106:114::/var/run/dbus:/bin/false
hal:x:115:115:Hardware abstraction layer,,,:/var/run/hal:/bin/false
test:x:1001:1001:,,,:/home/test:/bin/bash
mysql:x:107:116:MySQL Server,,,:/var/lib/mysql:/bin/false
alias:x:64010:65534:qmail alias,,,:/var/qmail/alias:/bin/false
qmaild:x:64011:65534:qmail daemon,,,:/var/qmail:/bin/false
qmails:x:64012:64010:qmail send,,,:/var/qmail:/bin/false
qmailr:x:64013:64010:qmail remote,,,:/var/qmail:/bin/false
qmailq:x:64014:64010:qmail queue,,,:/var/qmail:/bin/false
qmaill:x:64015:65534:qmail log,,,:/var/qmail:/bin/false
qmailp:x:64016:65534:qmail pw,,,:/var/qmail:/bin/false
Debian-console-log:x:108:108::/var/run/console-log:/bin/false
logcheck:x:119:118::/var/lib/logcheck:/bin/false

> getent group

root at laptop:~ # getent group
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:rrs,Debian-console-log
tty:x:5:
disk:x:6:rrs
lp:x:7:lp
mail:x:8:
news:x:9:
uucp:x:10:
proxy:x:13:
kmem:x:15:
dialout:x:20:rrs
fax:x:21:
voice:x:22:
cdrom:x:24:hal,rrs
floppy:x:25:hal
tape:x:26:
sudo:x:27:
audio:x:29:rrs
dip:x:30:rrs
postgres:x:32:
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:rrs
staff:x:50:rrs
games:x:60:
users:x:100:
nogroup:x:65534:
rrs:x:1000:
man:*:12:
sasl:*:45:
crontab:x:101:
camera:x:102:
scanner:x:103:
saned:x:104:
dictd:x:105:
ssh:x:106:
dovecot:x:109:
jwhois:x:110:
postfix:x:107:
postdrop:x:111:
lpadmin:x:112:
uml-net:x:113:rrs
plugdev:*:46:
messagebus:x:114:
hal:x:115:
test:x:1001:
mysql:x:116:
fuse:x:117:rrs
qmail:x:64010:
Debian-console-log:x:108:
logcheck:x:118:


Feel free if you need any additional information.

rrs
-- 
Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
Gnupg Key ID: 04F130BC
"Stealing logic from one person is plagiarism, stealing from many is 
research."
"Necessity is the mother of invention."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050907/85f17faf/attachment.pgp 


More information about the Logcheck-devel mailing list