LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2012, 02:05 AM   #1
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
user login problem


Hello all

I was trying with few changes when suddenly I found that while logging my user I get some error.

Code:
# su - deepak
-bash: /sbin/consoletype: Permission denied
[deepak@server ~]$
I don't understand this error. I looked for this on google as well but tough luck.

I just added the username in
Code:
#vi /etc/security/chroot.conf
and changed permission from 700 to 755

but now reverted back everything to normal and even restarted the machine but still when i use my CLI to log in the user it returns with this error

The thing which confuses me is that on GUI the user logs in with no issues
 
Old 02-08-2012, 04:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
what are the rights on consoletype? should be 755.
 
1 members found this post helpful.
Old 02-08-2012, 04:39 AM   #3
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Original Poster
Rep: Reputation: 221Reputation: 221Reputation: 221
Thanks for showing me the direction

I had run setfacl with this command

Code:
#setfacl -m u:deepak:--- /*
I guess this was the root cause. I checked the permission and removed acl and now its working fine

Thanks once again
 
Old 02-09-2012, 02:06 AM   #4
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Original Poster
Rep: Reputation: 221Reputation: 221Reputation: 221
Why am I unable to see any option to mark my thread as "solved" any where?
 
Old 02-09-2012, 10:19 AM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 11,958

Rep: Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113
Quote:
Originally Posted by deep27ak View Post
Why am I unable to see any option to mark my thread as "solved" any where?
This was a bug and has now been fixed.

--jeremy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] User login problem. Nitin Chaudhary Linux - Newbie 11 02-06-2012 06:24 PM
[SOLVED] user login problem Tux Rules Linux - Software 4 09-07-2010 06:02 AM
user login problem p03p Linux - Newbie 2 03-04-2009 10:19 AM
new user login problem in X rengo.Java Linux - General 4 12-14-2007 06:42 AM
Problem on login as user satimis Linux - Distributions 2 03-29-2007 05:01 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration