Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4989

Raspberry Pi OS • Re: Bootstrap user with uid

$
0
0
My systems are now integrated with a homelab ldap where my users start with uid 1000. This conflicts with the uid that the default user that is created on the Pi OS, typically the user "pi". I have tried using the userconf.txt method before to create the initial user but that only takes in the username and password. The Pi OS Imager also does not provide a way to customize the user's UID.

What is the best way to initialize the OS before the installation with a user with a specific UID? Is the only available option to mount the image and modify the passwd/group file?

Looking for to your suggestions.
sdm makes it super-simple to allocate users with specific UIDs, along with pretty much anything else you'd want to configure in RasPiOS. And, I'd guess that in your homelab you might have a LOT to configure. ;)

Statistics: Posted by bls — Fri Jan 17, 2025 12:30 am



Viewing all articles
Browse latest Browse all 4989

Trending Articles