useradd -p problem
HI guys. I am JOhn
I have tried this useradd -p mypassword john mypassword here is the encrypted password. I want to know how to create user with useradd command I know i can useradd john, then passwd. But HOw about this useradd -p, how to solve this problem. I need to do this because I want to create a useradd script, which ask for username and password and an account for teh user will be created. Please help. I am confuse :( |
You don't have to write such a script, as there are numerous script like the one you're trying to write out there already. E.g. adduser (instead of useradd)
|
See my post on your other (more or less duplicate thread) on the use of passwd --stdin
|
This isn't a security question (at least not directly), so it doesn't belong in this forum. Normally I'd move it, but because you've got a perfectly good thread going in which to discuss this issue, I'm closing this thread.
|
All times are GMT -5. The time now is 09:24 AM. |