Hi,
Quote:
Originally Posted by ravikavala
1. step 1 useradd -p 12345 abc
step 2 logout root
step 3 login to abc
displaying "Authencation failure"
|
The password will not be "12345". The argument to -p should be the encrypted password. Read the useradd manpage for details, or set the password interactivly.
Quote:
2. useradd -d /users/123 123 -p 123
giving error can't create directory /users/123
|
Well, persumably the directory "/users" does not exist.
Quote:
if i manually create and give 777 to that folder also not loging the user and giving same error "Authentication failure"
|
See above regarding -p.
Also, you probably shouldn't be using RHEL, since you probably won't be paying for a subscription and therefore won't be able to install anything with yum. Try CentOS instead.
HTH,
Evo2.