-   Slackware - Installation (
-   -   Groups with Runlevel4 in Slackware_14.0 (

res44 02-15-2013 01:26 PM

Groups with Runlevel4 in Slackware_14.0
When I use startx after a console login to Slackware_14.0,
I find that by default a user belongs to the following groups:

users lp floppy audio video cdrom scanner

When I alter /etc/inittab to start runlevel4,
the only groups a user has are:


The other groups can be added with "usermod" but why are the groups missing when booting with runlevel4, and which groups should be added?

This is a change from the way Slackware_13.0 worked.

Is this a bug in Slackware_14.0?

wildwizard 02-15-2013 10:18 PM

Bug? No.

See /etc/login.defs

# Note that users are added to these default groups only when
# logging into a shell with /bin/login, not when using a login
# manager such as kdm.  In that case, users who should have
# hardware access must be added to the appropriate groups
# when the user is added with adduser or useradd, or by editing
# /etc/group directly, preferably using "vigr"

All times are GMT -5. The time now is 05:40 AM.