LinuxQuestions.org
Register a domain and help support LQ
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 05-20-2002, 12:10 PM   #1
--TOL--
LQ Newbie
 
Registered: May 2002
Posts: 13

Rep: Reputation: 0
login problem (/dev/tty*,ftp...)


hello,
I have a question, concerning my "login-problem".
Some time ago, I read about PAM and its HOWTO, at the end I wanted to compile the source, which was given as an example, compilation was ok, but when I tried to login as "root" with the (100%) correct password , it does not work ("Not Authenicated"), also the attempt to log in as normal user failed.

Some time before this happened, I "realized" that I could not log in in /dev/tty* (not as root or as any other user), now I tried to ftp localhost and also this failed (Login failed).

There are several of this examples, I ' m 100 % sure that I always typed my root (user) password correctly, but what's the problem ?

I hope you understand what I mean by that.

--TOL--
 
Old 05-20-2002, 02:02 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
If you are unable to login to /dev/tty* this is a reflection of security settings to banned everyone to log in to /dev/tty*, as for ftp you should have ftp server running on the systemin order to login intoit using ftp.
What distro are you using?
 
Old 05-20-2002, 04:57 PM   #3
--TOL--
LQ Newbie
 
Registered: May 2002
Posts: 13

Original Poster
Rep: Reputation: 0
I should be able to login to /dev/tty*, regarding /etc/securetty, how could you explain that although my pass...was right, the PAM Prog does not accept it ?

I am using Redhat 6.1 if it helps.

--TOL--
 
Old 05-20-2002, 10:53 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
post your /etc/securetty
along with /etc/access.conf
 
Old 05-21-2002, 07:20 AM   #5
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
What exactly have you done to get the PAM program to run? Did you create any files in the /etc/pam.d directory? You should try to return everything to the same state like it was before.
 
Old 05-21-2002, 11:54 AM   #6
--TOL--
LQ Newbie
 
Registered: May 2002
Posts: 13

Original Poster
Rep: Reputation: 0
...

My /etc/securetty just contains tty1 to tty8 (tty1,tty2...). I don't have an /etc/access.conf.

Mik: I really would like to, but how and why could have changed it my settings ?
 
Old 05-23-2002, 07:55 AM   #7
--TOL--
LQ Newbie
 
Registered: May 2002
Posts: 13

Original Poster
Rep: Reputation: 0
hmm... I don't really know how to return everything to the same state like it was before, as I simply compiled and executed a PAM-Program, before this I could also not (always) login on ttys, although my pc (i have several ones, but the problem occured on a stand alone one) is a "standalone", not connected to the internet pc.
 
  


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
open() failed on /dev/tty ekko37 Linux - Software 7 01-15-2005 03:47 AM
/dev/tty permissions changed by login tomlinuxq Linux - Newbie 0 12-28-2004 10:43 AM
unable to change tty /dev/tty1 Read-only filesystem behmjose Linux From Scratch 1 01-02-2004 09:55 PM
remove tty files from /dev kprocter Linux - General 4 06-03-2003 05:51 PM
rxvt: can't open slave tty /dev/pts/3 kater Linux - General 2 02-26-2003 07:39 PM


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