Originally Posted by smth333
Using the CLI how do you set a temp passwd that must be changed at first login.
Please don't post homework questions verbatim.
And did you read the man pages on the passwd and useradd commands? Pay particular attention to the "--expire" flag on the passwd command.