On Mon, Apr 28, 2025 at 1:43 AM Marc Haber <mh+debian-de...@zugschlus.de> wrote:
>
> On Sun, 27 Apr 2025 09:49:17 -0500, Aaron Rainbolt
> <arraybo...@gmail.com> wrote:
> >adduser has one very useful piece of functionality useradd doesn't
> >have to my awareness, which my workplace absolutely depends on for
> >hardware we build and sell. That's the ability to execute a "hook
> >script" at user creation (/usr/local/sbin/adduser.local), which can
> >then do bits of user account specific setup that can't be done via the
> >skel mechanism. Yes, we could just write a script that calls useradd
> >and then runs our user setup stuff, but adduser is currently
> >integrated into KDE (the desktop environment our hardware uses), so
> >that when the end user creates a new user account in KDE's settings
> >UI, the hook script is automatically run.
>
> Are you actually sure that KDE uses adduser? adduser as we are talking
> about is a Debianism. The Red Hat World has its own adduser, which is
> totally independent (and also totally incompatible), so I'd advise all
> other programs which should be useful outside the Debian ecosystem to
> not invoke adduser but to resort to standardized tools.

I am very sure, yes. This is the behavior on Ubuntu at least, I assume
on Red Hat-ish systems it calls something different.

> Greetings
> Marc
> --
> ----------------------------------------------------------------------------
> Marc Haber         |   " Questions are the         | Mailadresse im Header
> Rhein-Neckar, DE   |     Beginning of Wisdom "     |
> Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 6224 1600402
>

Reply via email to