LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Linux Ent 5 only root logging in.not other users logging authentication failure error (https://www.linuxquestions.org/questions/linux-general-1/linux-ent-5-only-root-logging-in-not-other-users-logging-authentication-failure-error-4175520574/)

ravikavala 09-30-2014 03:38 AM

Linux Ent 5 only root logging in.not other users logging authentication failure error
 
Hi,

This is Ravi Kumar from Rajahmundry(AP).working as a hardware engineer in Aditya educational institutions.im very much interested learning linux thats why i installed Red Hat Enterprise Linux 5 in vmware 10 and started practicing.i created some users with default home directories and some with other directories
1. step 1 useradd -p 12345 abc
step 2 logout root
step 3 login to abc
displaying "Authencation failure"
2. useradd -d /users/123 123 -p 123
giving error can't create directory /users/123
if i manually create and give 777 to that folder also not loging the user and giving same error "Authentication failure"

Any one give suggestions to me is helpful.my practice has stopped at the begin.

Thanks to all..
R@V1

evo2 09-30-2014 03:46 AM

Hi,
Quote:

Originally Posted by ravikavala (Post 5246787)
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.


All times are GMT -5. The time now is 07:25 AM.