Meilix is known for its customisation feature. There is a folder meilix-default-settings with the help of which we can overwrite system configuration.
Problem:
Meilix has a login issue so it happened that uid assigned to hotelos is 999 whereas the login manager accept uid 1000. We tried to change the uid using system configuration but it doesn’t get change.
Solution:
We thought of different approach to overwrite the uid file with uid of hotelos 1000. The default file can be found at etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
systemd-timesync:x:100:102:systemd Time Synchronization,,,:/run/systemd:/bin/false
systemd-network:x:101:103:systemd Network Management,,,:/run/systemd/netif:/bin/false
systemd-resolve:x:102:104:systemd Resolver,,,:/run/systemd/resolve:/bin/false
systemd-bus-proxy:x:103:105:systemd Bus Proxy,,,:/run/systemd:/bin/false
syslog:x:104:108::/home/syslog:/bin/false
_apt:x:105:65534::/nonexistent:/bin/false
messagebus:x:106:110::/var/run/dbus:/bin/false
uuidd:x:107:111::/run/uuidd:/bin/false
sddm:x:108:114:Simple Desktop Display Manager:/var/lib/sddm:/bin/false
lightdm:x:109:115:Light Display Manager:/var/lib/lightdm:/bin/false
avahi:x:110:117:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
colord:x:111:120:colord colour management daemon,,,:/var/lib/colord:/bin/false
dnsmasq:x:112:65534:dnsmasq,,,:/var/lib/misc:/bin/false
pulse:x:113:121:PulseAudio daemon,,,:/var/run/pulse:/bin/false
rtkit:x:114:123:RealtimeKit,,,:/proc:/bin/false
usbmux:x:115:46:usbmux daemon,,,:/var/lib/usbmux:/bin/false
jvb:x:999:1000::/usr/share/jitsi-videobridge:/bin/bash
jicofo:x:998:1000::/usr/share/jicofo:/bin/bash
prosody:x:116:125:Prosody XMPP Server,,,:/var/lib/prosody:/bin/false
hotelos:x:1000:1001:hotelos,,,:/home/tarun:/bin/bash
Through this we can see that the root get the uid 0 and the user get uid 1000.
This approach made the uid 1000 but the OS doesn’t bypass the login issue because we found that jitsi-meet installer caused the issue. It creates two user, one is jwb and other is jicofu. Due to this reason our etc/passwd is also not working as it conflicts the existing user.
This line present in scripts/chroot.sh install the jitsi-meet.
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add -
This line add the entry into the source.list.d file for the jitsi-meet
sudo sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list"
Finally this line install jitsi-meet.
apt-get -y install jitsi-meet
We need to remove all these lines for removing jitsi-meet to get the meilix-default-settings work again.
Reference:
Jitsi-meet
Uid
You must be logged in to post a comment.