Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Default users missing from /etc/passwd

Featured Replies

Description:

 

Systems which have been upgraded over time are missing a bunch of entries in their /etc/passwd and shadow files, as compared to systems that start fresh with unRAID 6.3.0-rc3.

 

Over in this thread, we learned that the "avahi" user is required for proper operation, not sure if missing other users cause similar problems.

 

How to reproduce:

 

Compare the /etc/passwd and shadow files from a fresh system to a system that has been upgraded over time.  On my system, the following entries were missing:

 

oprofile:x:51:51:oprofile:/:/bin/false
usbmux:x:52:83:User for usbmux daemon:/var/empty:/bin/false
sddm:x:64:64:User for SDDM:/var/empty:/bin/false
pulse:x:65:65:User for PulseAudio:/var/run/pulse:/bin/false
apache:x:80:80:User for Apache:/srv/httpd:/bin/false
haldaemon:x:82:82:User for HAL:/var/run/hald:/bin/false
polkitd:x:87:87:PolicyKit daemon owner:/var/lib/polkit:/bin/false

 

and messagebus on the upgraded system was:

messagebus:x:81:81::/dev/null:/bin/false

as compared to a new system:

messagebus:x:81:81:User for D-BUS:/var/run/dbus:/bin/false

 

Expected results:

 

Upgraded systems should have the same set of default passwd entries as fresh systems.

 

Actual results:

 

Upgraded systems do not have the same default passwd entries.

 

Other information:

 

I did the following to bring my system up to date, it seems to have worked:

  • Rename /boot/config/passwd to passwd.sav and shadow to shadow.sav
  • Reboot
  • Change the root password, this creates new passwd and shadow files in /boot/config
  • Merge my users from the sav files to the new files in /boot/config
  • Reboot again

  • 6 months later...
4 minutes ago, ljm42 said:

It looks like 6.3.4 takes care of this for the ntp and avahi users:

 

Yes that's right.

  • Author

Thanks for confirming!  Out of curiosity, why does it just add those two users and not the rest that come with a new system?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.