LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-30-2014, 03:38 AM   #1
ravikavala
LQ Newbie
 
Registered: Sep 2014
Posts: 9

Rep: Reputation: Disabled
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
 
Old 09-30-2014, 03:46 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by ravikavala View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem logging into one of my non-root users 'qt4' landonmkelsey Linux - Software 3 02-12-2011 02:09 PM
Authentication Problem when logging as a non root user sashi_jk Linux - Software 2 06-28-2007 12:57 AM
MySQL: root logging in ever 2 minutes to get users? MicahCarrick Programming 1 06-26-2006 11:08 AM
crazy error message when logging in as root cjae SUSE / openSUSE 2 02-28-2006 04:53 AM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration