Opened 11 years ago

Closed 11 years ago

#3548 closed enhancement (fixed)

More users and groups needed for acl tests

Reported by: Pierre Labastie Owned by: lfs-book@…
Priority: normal Milestone: 7.6
Component: Book Version: SVN
Severity: minor Keywords:
Cc:

Description

acl tests need a daemon user, belonging to the bin group, and a users group. Shouldn't they be added to section 6.6?

Change History (3)

comment:1 by bdubbs@…, 11 years ago

Are you sure that daemon needs to be a member of the bin group? I made some changes and have:

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/dev/null:/bin/false
daemon:x:6:6:Daemon User:/dev/null:/bin/false
messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
root:x:0:
bin:x:1:
sys:x:2:
kmem:x:3:
tape:x:4:
tty:x:5:
daemon:x:6:
floppy:x:7:
disk:x:8:
lp:x:9:
dialout:x:10:
audio:x:11:
video:x:12:
utmp:x:13:
usb:x:14:
cdrom:x:15:
adm:x:16:
messagebus:x:18:
systemd-journal:x:23:
mail:x:34:
nogroup:x:99:
users:x:999

Running 'make tests', I get:

111 commands (111 passed, 0 failed)

comment:2 by Pierre Labastie, 11 years ago

Actually, I did not check myself. I took that from the BLFS page for acl, where we have:
"the users bin and daemon must be created or modified to have a proper shell and home directory and the group daemon must be a member of the bin group."

comment:3 by bdubbs@…, 11 years ago

Resolution: fixed
Status: newclosed

The daemon user does need to be in the bin group for root-tests.

Fixed at revision 10546.

Note: See TracTickets for help on using tickets.