LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-20-2004, 04:46 AM   #1
bahadur
Member
 
Registered: Apr 2004
Distribution: Linux Red Hat
Posts: 141

Rep: Reputation: 15
what is the tty of GUI prompt


HI,

i am working around with pam.

in the documentation i read that

" This line makes sure that if the user is trying to log in as root, the tty on which they are logging in is listed in the /etc/securetty file, if that file exists"

ok the file exists but i dont know if the tty of the gdm is listed in it or not.

i have red hat 9.0

when i do ps-ae i get this( irrelevant entries have been not listed here by me

3313 tty1 00:00:00 mingetty
3314 tty2 00:00:00 mingetty
3315 tty3 00:00:00 mingetty
3316 tty4 00:00:00 mingetty
3317 tty5 00:00:00 mingetty
3318 tty6 00:00:00 mingetty
3319 ? 00:00:00 gdm-binary
3368 ? 00:00:00 gdm-binary
3369 ? 00:00:41 X

my securetty file looks like this


vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11


now the problem is that when ever i try to change the file gdm in the /etc/pam.d directory for using single sign on using winbind root cannot login through the GUI prompt.

but i remove the line

auth required /lib/security/pam_securetty.so

it starts working.

but my questions is that this line mentioned above is still very much there in my gdm file and things are working. but when i try to change it root stops logging in.

is the tty entry missing in securetty?

can any one send me his gdm file where he has used winbind for a single sign on?

auth required /lib/security/pam_securetty.so
 
Old 06-20-2004, 05:23 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try typing "tty" at the prompt and it should tell you.
 
  


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
a tty???? rasejo Linux - General 5 02-23-2009 01:01 AM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM
Mandrake boots into command prompt instead of GUI DiscoBiscuit Linux - Newbie 12 05-30-2004 04:45 PM
prompt to GUI loop PhuzzyLogic Linux - Newbie 3 06-20-2003 08:26 AM
tty fonts and gui sakeeb Linux - Software 1 06-04-2002 06:14 AM

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

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