LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-19-2007, 01:05 PM   #1
Koven
Member
 
Registered: Dec 2003
Distribution: Arch Linux
Posts: 49

Rep: Reputation: 15
I Can't Login in a VC terminal


I don't know why I can't login like a normal user in a VC terminal. This is my /etc/securetty file. I think I edited once but I don't remember whether is something worng with it. I only can login as root user in a terminal (Ctrl+Alt+F1). I can login as a normal user from a SSH connection. So think the problem is "securetty" file?

Quote:
#
# /etc/securetty
#

console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6

# End of file
I edited /etc/pam.d/login file but I can't see anything rare so I really want to know If I'm doing something wrong.

Quote:
#%PAM-1.0
auth requisite pam_securetty.so
auth requisite pam_nologin.so
auth required pam_unix.so nullok
auth required pam_tally.so onerr=succeed file=/var/log/faillog
# use this to lockout accounts for 10 minutes after 3 failed attempts
auth required pam_tally.so deny=2 unlock_time=600 onerr=succeed file=/var/log/faillog
account required pam_access.so
account required pam_time.so
account required pam_unix.so
#password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
#password required pam_unix.so md5 shadow use_authtok
session required pam_unix.so
session required pam_env.so
session required pam_motd.so
session required pam_limits.so
session optional pam_mail.so dir=/var/spool/mail standard
session optional pam_lastlog.so
Regards

Last edited by Koven; 02-19-2007 at 01:07 PM.
 
Old 02-25-2007, 08:40 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
/etc/securetty only restricts root account logins, not regular users.
Does your system logs say anything?
 
Old 03-01-2007, 08:22 AM   #3
Koven
Member
 
Registered: Dec 2003
Distribution: Arch Linux
Posts: 49

Original Poster
Rep: Reputation: 15
This is what I get when I try to login in this machine

Quote:
Feb 3 14:14:44 koven login[3179]: FAILED LOGIN (1) on 'vc/1' FOR `koven', Authentication failure
It's a normal user, and that's what it's rare.

Regards
 
Old 03-01-2007, 08:37 AM   #4
live_dont_exist
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257

Rep: Reputation: 30
Hey Koven,
Create another temp user and try and login with that? Do you still face the same problem?If you can login with this new user then it's a problem with koven.Maybe just a password reset or something.

Also when you log in as root look at the permissions of /home/koven. They should be owned by koven and not root with permissions set to 0700.So if its owned by root when logged in as rootdo a:

Code:
chown -Rh koven:10 /home/koven
Post back if still no luck.

Cheers
Arvind

Last edited by live_dont_exist; 03-01-2007 at 08:42 AM.
 
  


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
How do I login to the terminal as someone else? ChrisR(SQL DBA) Linux - Newbie 2 11-10-2006 03:22 PM
login through terminal TurtleFace Linux - General 3 07-02-2005 02:15 PM
screen login not appear in terminal baremacho Fedora 3 06-28-2005 01:49 AM
Cannot login@terminal gk_ Slackware 4 08-06-2004 05:24 PM
Login to a virtual terminal from another one Johnsernickle Linux - Software 1 07-17-2004 12:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:30 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