Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.