I can change this to “Email only” via the GUI, but I cannot seem to figure out how to do it via the command line.
For example adding --ftp gives it Email and FTP (and drops SSH), adding --noemail gives FTP and SSH, but no obvious option eliminates those two and gives me just Email like the GUI.
I found a work-around (I haven’t tested if the mail works yet, but it does result in an “Email only” user showing up in the GUI so confidence is high) by adding --shell /dev/null to the command as:
But that is not really what it does, at least in my out-of-the-box install it creates an Email, FTP, SSH user and offers no “–emailonly” flag… and so is the kind of esoteric little tidbit that Virtualmin is generally so good at helping to remove from the Linux hosting environment.
If this is “the way” may I suggest, if not an “–emailonly” flag or (really) email-only becoming the default (since the only description line in the help suggests that that is all it will do without extra flags) then could the help page be altered to say “Creates a new Email, SSH, FTP” user and add some examples at the bottom including one described as “for email only” with the --shell /dev/null bit?