OpenSuSe useradd help
This weekend I had to do some things on an OpenSuSe 10.3 server (some dirty migration of a Zope/PostgreSQL webapp). One of the tasks I had to do involved the creation of some user accounts. Yes, I know there is YasT in the SuSe world, but something like the Slackware's adduser script should be a better tool.
In OpenSuSe, there is a man page for adduser but calling man adduser sends you to useradd(8)... ok, (I thought), "useradd should be a similar tool".
So I tried useradd directly, expecting a help message:
server:~ # useradd useradd: Too few arguments. Try `useradd --help' or `useradd --usage' for more information. server:~ #
Nice, there was a message, and it pointed me to two different options to get more info. I decided to try --usage (the tipical shorter version of the help) but, guess what?
server:~ # useradd --usage Usage: useradd ... server:~ #
WTF! That is a really useful message! (of course --help has the full help, but anyway...)