Re: [PATCH] common: check user and group existence via id

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Mon, Sep 25, 2023 at 05:22:21PM +0200, Christian Brauner wrote:
> Newer machines support the creation of users that don't appear in
> /etc/passwd but are only available via nss or userdbd. Use the id binary
> which is portable and reliable.
> 
> With this change I can run xfstests on systems where the users are
> created via systemd-userdbd drop-ins. See the documentation in [1] and [2].
> 
> Link: [1]: https://man7.org/linux/man-pages/man8/nss-systemd.8.html
> Link: [2]: https://man7.org/linux/man-pages/man5/nsswitch.conf.5.html
> Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx>
> ---

I need to resend a fixed version. I only send half the patch.



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux