`adduser` is one of those commands specific to Debian so this isn't friendly across all Linux systems. Debian's `adduser` is actually a standalone perl script. The gentoo devs for example symlinked `adduser` to `useradd` to bring back some familiarity:
https://forums.gentoo.org/viewtopic-t-11887-start-0.html `gpasswd` will always simply append <user> to <group> Versus this possibly happening: useradd -g wheel username # will add a user and set their primary group to wheel (defaults to users) useradd -G group1,group2 # sets the secondary groups It's best to know the tools underneath so when you hop on Fedora for example, your commands works the same as it does in Debian. Personally, I think it's a bad idea for Gentoo to use symlinks just to make it easier for the user because of the potential scenario: Gentoo: `adduser` is a symlink to `useradd` Debian: Changes the `adduser` perl script and/or it's syntax. User: Switches from Debian to Gentoo, running `adduser` they usually do: Different behavior or error parsing options to `adduser` I hope this helps! Alec _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
