I was trying to add a user called joebloggs and accidentally hit other keys as I pressed enter:

useradd -u 12345 joebloggs$*

(on French keyboards the $ and * keys are next to Enter)

doing a cat of /etc/passwd doesn't show anything nasty:


Is there anything else I should be aware of or checking for?

  • 1
    ...and you an login properly using "joebloggs"? – sr_ Oct 18 '11 at 7:58
  • Yes I can log in correctly – Rich Oct 18 '11 at 8:06

Everything should be OK, since when you run this from a command-line, $* expanded to nothing (i.e. the useradd program received just -u 12345 joebloggs).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.