LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 03-13-2012, 09:26 PM   #1
cristi92b
Member
 
Registered: May 2011
Posts: 82

Rep: Reputation: Disabled
How to disable pam verbose?


pam is verbosing after I type the username and before I am prompted for password on tty1. Can you please tell me how can I disable this?

I'm using Gentoo Linux.

ls -l -a /etc/pam.d
Code:
total 156
drwxr-xr-x  2 root root 4096 Mar 14  2012 .
drwxr-xr-x 76 root root 4096 Mar 14 04:15 ..
-rw-r--r--  1 root root  152 Feb 23 13:43 chage
-rw-r--r--  1 root root  152 Feb 23 13:43 chfn
-rw-r--r--  1 root root  144 Feb 23 13:43 chgpasswd
-rw-r--r--  1 root root  144 Feb 23 13:43 chpasswd
-rw-r--r--  1 root root  152 Feb 23 13:43 chsh
-rw-r--r--  1 root root  123 Feb 25 02:22 cron
-rw-r--r--  1 root root  106 Mar 11 19:46 cups
-rw-r--r--  1 root root  274 Feb 26 16:19 gdm
-rw-r--r--  1 root root  369 Feb 26 16:19 gdm-autologin
-rw-r--r--  1 root root  200 Feb 26 16:19 gdmsetup
-rw-r--r--  1 root root  152 Feb 23 13:43 groupadd
-rw-r--r--  1 root root  152 Feb 23 13:43 groupdel
-rw-r--r--  1 root root  103 Feb 23 13:43 groupmems
-rw-r--r--  1 root root  152 Feb 23 13:43 groupmod
-rw-r--r--  1 root root  362 Feb 25 02:22 imap
lrwxrwxrwx  1 root root    4 Feb 25 02:22 imap4 -> imap
lrwxrwxrwx  1 root root    4 Feb 25 02:22 imap4s -> imap
lrwxrwxrwx  1 root root    4 Feb 25 02:22 imaps -> imap
-rw-r--r--  1 root root  190 Feb 23 13:43 login
-rw-r--r--  1 root root  152 Feb 23 13:43 newusers
-rw-r--r--  1 root root  128 Mar 14  2012 other
-rw-r--r--  1 root root  144 Feb 23 13:43 passwd
-rw-r--r--  1 root root  155 Feb 25 07:43 polkit-1
-rw-r--r--  1 root root  362 Feb 25 02:22 pop
lrwxrwxrwx  1 root root    3 Feb 25 02:22 pop3 -> pop
lrwxrwxrwx  1 root root    3 Feb 25 02:22 pop3s -> pop
lrwxrwxrwx  1 root root    3 Feb 25 02:22 pops -> pop
-rw-r--r--  1 root root  135 Feb 25 02:59 ppp
-rw-r--r--  1 root root  160 Feb 25 07:47 saslauthd
-rw-r--r--  1 root root  152 Feb 23 13:43 shadow
-rw-r--r--  1 root root  156 Mar 11 19:59 sshd
-rw-r--r--  1 root root   63 Mar 11 20:37 start-stop-daemon
-rw-r--r--  1 root root 1059 Feb 23 13:43 su
-rw-r--r--  1 root root  135 Feb 25 21:29 sudo
-rw-r--r--  1 root root  512 Mar 14 03:22 system-auth
-rw-r--r--  1 root root  121 Mar 14  2012 system-local-login
-rw-r--r--  1 root root  579 Mar 14 03:59 system-login
-rw-r--r--  1 root root  121 Mar 14  2012 system-remote-login
-rw-r--r--  1 root root  250 Mar 14  2012 system-services
-rw-r--r--  1 root root  152 Feb 23 13:43 useradd
-rw-r--r--  1 root root  152 Feb 23 13:43 userdel
-rw-r--r--  1 root root  152 Feb 23 13:43 usermod
-rw-r--r--  1 root root   77 Feb 25 21:22 xscreensaver
 
Old 03-14-2012, 03:03 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Can you give an example of what you mean by "PAM is verbosing"?

If you're on TTY1 chances are you're not only getting PAM but any syslog
messages on the tty?



Cheers,
Tink
 
Old 03-14-2012, 06:07 PM   #3
cristi92b
Member
 
Registered: May 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
Thank you for your answer! See the pictures I uploaded.
Attached Images
File Type: jpg photo 1.jpg (266.2 KB, 8 views)
File Type: jpg photo 2.jpg (267.6 KB, 7 views)
 
Old 03-14-2012, 07:45 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
grep your pam.d for "pam_debug" ...
 
Old 03-14-2012, 08:18 PM   #5
cristi92b
Member
 
Registered: May 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
Code:
grep -r "pam_debug" /etc/pam.d
No output

Code:
grep -r -c "pam_debug" /etc/pam.d
Output:

/etc/pam.d/gdm:0
/etc/pam.d/polkit-1:0
/etc/pam.d/pop:0
/etc/pam.d/sshd:0
/etc/pam.d/chage:0
/etc/pam.d/system-remote-login:0
/etc/pam.d/sudo:0
/etc/pam.d/usermod:0
/etc/pam.d/system-auth:0
/etc/pam.d/imap:0
/etc/pam.d/newusers:0
/etc/pam.d/imap4:0
/etc/pam.d/system-login:0
/etc/pam.d/system-local-login:0
/etc/pam.d/start-stop-daemon:0
/etc/pam.d/other:0
/etc/pam.d/cron:0
/etc/pam.d/gdmsetup:0
/etc/pam.d/imaps:0
/etc/pam.d/groupadd:0
/etc/pam.d/userdel:0
/etc/pam.d/groupmems:0
/etc/pam.d/passwd:0
/etc/pam.d/useradd:0
/etc/pam.d/pop3s:0
/etc/pam.d/gdm-autologin:0
/etc/pam.d/imap4s:0
/etc/pam.d/chgpasswd:0
/etc/pam.d/login:0
/etc/pam.d/chsh:0
/etc/pam.d/system-services:0
/etc/pam.d/chpasswd:0
/etc/pam.d/saslauthd:0
/etc/pam.d/xscreensaver:0
/etc/pam.d/shadow:0
/etc/pam.d/groupmod:0
/etc/pam.d/pop3:0
/etc/pam.d/su:0
/etc/pam.d/groupdel:0
/etc/pam.d/chfn:0
/etc/pam.d/pops:0
/etc/pam.d/cups:0
/etc/pam.d/ppp:0
 
Old 03-14-2012, 09:33 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Ummm ok - that's odd. I'm moving the thread over to our gentoo forum, maybe
someone there has encountered similar issues.
 
Old 03-14-2012, 09:34 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
As an aside - does /etc/pam.conf exist?
 
Old 03-14-2012, 10:45 PM   #8
cristi92b
Member
 
Registered: May 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
No, there's no /etc/pam.conf

Thank you for your answers and for moving the thread.
 
Old 03-15-2012, 08:00 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
First thing first, let's see if you emerged sys-auth/pambase and|or sys-libs/pam with USE=debug. If so, disable that flag, and re-emerge those packages.

One word of advice: don't set USE=debug globally. If you need to enable the debug feature, do it on a per-package basis, in /etc/portage/package.use
 
Old 03-15-2012, 12:55 PM   #10
cristi92b
Member
 
Registered: May 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
I disabled global USE "debug" flag and re-emerged sys-auth/pambase and sys-libs/pam without the "debug" flag, and now the problem is solved!

Thank 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
Disable Esc key (verbose output) at bootsplash. reg13 Linux - General 0 10-25-2011 02:29 AM
jack : how to disable verbose debug messages angelo_maci Linux - Software 2 06-18-2010 04:10 AM
Disable .rhosts Support in /etc/pam.conf wjs1990 Linux - Newbie 6 01-09-2010 08:48 PM
Using pam.d to disable KDE/Gnome sessions in the evening cleger Linux - Security 2 12-11-2008 10:44 PM
Disable PAM reverse lookups? TBKDan Linux - Security 5 08-31-2007 07:47 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration