Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
...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).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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