dCore Import Debian Packages to Mountable SCE extensions > dCore X86

group ids

(1/6) > >>

netnomad:
hi friends,

in tinycore the group id 1000 is used for messagebus.

in many distributions the group id for normal users start with 500 or 1000.

in debian i use f.e. the group user with the id 1000 for my first normal user account 1000.
user:x:1000:1000:user,,,:/home/user:/bin/bash

https://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-users.html

when i pack a different debian installation with
tar czvfp debian_backup.tgz /
then my user group with the id 1000 gets the group messagebus.

what do you recommend?
is it a problem to change the usergroup messagebus to a different id?
is there a mistake in my tar-command that there is an issue with my group-ids in the tar-file?

thank you for every hint and help.

Jason W:
I see what you are talking about, my Debian/Ubuntu HD install uses 1000 for my user acct.  Will look into it.

Jason W:
Ok, I have made dbus.deb2sce create the messagebus group id as system, and to make the standard user group id 1000 to keep with Debian standards. Please re-import anything containing dbus package and use the latest release candidate to test.  But I don't recommend sharing the /etc/group file among different installs as much of that file is created dynamically.

netnomad:
hi jason,

while in debian my user:user gets the ids 1000:1000,
tc provides now for tc:staff the ids 1001:50.
group 1000 is configured for pulse-access.

tc@box:~$ version -r
You are running dCore-jessie:2016.04.25.21.13, the latest release candidate.


tc@box:~$ sudo cat /etc/passwd
root:x:0:0:root:/root:/bb/ash
lp:x:7:7:lp:/var/spool/lpd:/bb/ash
nobody:x:65534:65534:nobody:/nonexistent:/bin/false
tc:x:1001:50:Linux User,,,:/home/tc:/bin/bash
libuuid:x:100:1002::/var/lib/libuuid:/bin/sh
sshd:x:101:100:Linux User,,,:/home/sshd:/bin/false
messagebus:x:1000:1000:Linux User,,,:/home/messagebus:/bin/sh
pulse:x:102:29:PulseAudio daemon:/var/run/pulse:/bin/false
avahi:x:103:113:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false


tc@box:~$ sudo cat /etc/group
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:tc
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:tc
fax:x:21:
voice:x:22:
cdrom:x:24:tc
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:tc,pulse
dip:x:30:
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:tc
sasl:x:45:
plugdev:x:46:tc
staff:x:50:
games:x:60:
users:x:100:
plugdev:x:101:tc
colord:x:109:
messagebus:x:110:messagebus
avahi:x:113:
netdev:x:114:tc
bluetooth:x:115:
pulse:x:116:
Debian-gdm:x:119:
nogroup:x:65534:
utempter:x:1001:
debian-transmission:x:1005:debian-transmission
uuidd:x:1002:libuuid
sshd:x:102:sshd
lpadmin:x:103:
pulse-access:x:1000:
systemd-journal:x:104:


thank you for your help.

Jason W:
Are either of those files in your backup? 

My two files are below, and all is working well on my setup.  Group id 50, staff, for the user is normal for Core/dCore.  Being Tinycore first and foremost, I only want to change things to being Debian friendly when it is necessary and something in dCore won't work otherwise.


--- Code: ---jason@box:~$ cat /etc/passwd
root:x:0:0:root:/root:/bb/ash
lp:x:7:7:lp:/var/spool/lpd:/bb/ash
nobody:x:65534:65534:nobody:/nonexistent:/bin/false
tc:x:1001:50:Linux User,,,:/home/tc:/bb/ash
jason:x:1000:50:Linux User,,,:/home/jason:/bb/sh
libuuid:x:100:1002::/var/lib/libuuid:
messagebus:x:1002:1000:Linux User,,,:/home/messagebus:/bin/sh
sshd:x:101:100:Linux User,,,:/home/sshd:/bin/false
pulse:x:102:29:PulseAudio daemon:/var/run/pulse:/bin/false
usbmux:x:103:46:usbmux daemon,,,:/home/usbmux:/bin/false
jason@box:~$
jason@box:~$
jason@box:~$ cat /etc/group
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:jason
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:jason
fax:x:21:
voice:x:22:
cdrom:x:24:jason
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:jason,pulse
dip:x:30:
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:jason
sasl:x:45:
plugdev:x:46:jason
staff:x:50:jason
games:x:60:
users:x:100:
plugdev:x:101:jason
colord:x:109:
messagebus:x:110:messagebus
avahi:x:113:
netdev:x:114:jason
bluetooth:x:115:
pulse:x:116:
Debian-gdm:x:119:
nogroup:x:65534:
utempter:x:1001:
debian-transmission:x:1005:debian-transmission
jason:x:1000:
clamav:x:1003:clamav
lpadmin:x:102:
uuidd:x:1002:libuuid
sshd:x:103:sshd
pulse-access:x:1004:
systemd-journal:x:104:
jason@box:~$


--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version