3

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:

joebloggs:x:12345:12345::/home/joebloggs:/bin/bash

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

Michael Mrozek
  • 93,103
  • 40
  • 240
  • 233
Rich
  • 4,529

1 Answers1

9

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).