Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 212473
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: PAM Gentoo Team <pam-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jakub Moc (RETIRED) <jakub@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 212473 depends on: Show dependency tree
Bug 212473 blocks: 210767
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-06 12:09 0000
A reminder, as requested by Flameeyes... ;)

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2008-03-07 14:03:50 0000 -------
Half done, sudo-1.6.9_p14 and 1.7_beta3 use system-login rather than
system-auth.

------- Comment #2 From Hans Nieser 2008-03-21 19:41:28 0000 -------
(In reply to comment #1)
> Half done, sudo-1.6.9_p14 and 1.7_beta3 use system-login rather than
> system-auth.
> 
It seems that (I could be mistaken however, PAM > me) as a result of this sudo
now prints lastlogin/motd whenever I use it (even after it asks it has already
asked the password on first invocation) which I find slightly (not not a big
deal however) annoying: 

# sudo echo foo
Last login: Fri Mar 21 20:37:06 CET 2008 from magrathea on pts/8
Welcome to Magrathea!
foo

Is this an oversight/unintended result, or should I just customize my pam files
if I don't want this?

------- Comment #3 From Christian Hoffmann 2008-04-06 09:58:08 0000 -------
Same here, I found it quite annoying as well, but one can get used to it. Much
more annoying is the recent gdm behaviour change -- it displays a dialog box
with lastlogin data every time I log in... Is this intended, unrelated to this
bug, or something else? :)

Complete ~amd64 here, btw.

------- Comment #4 From Hans Nieser 2008-04-06 12:57:58 0000 -------
Ok, I just updated pam to 1.0.0 and sudo now uses system-auth and thus no more
motd/lastlogin messages, now that I think about it, maybe I misread Diego's
post and the intention was exactly to make it use system-aouth

Either way, thanks!

------- Comment #5 From Sebastian Rick Rijkers 2008-04-06 20:27:56 0000 -------
Really, why should sudo or su use system-login? Should they have an optional
pam_gnome_keyring.so? An optional pam_lastlog.so? An optional pam_mail.so?

The problem with gdm is the same, since it actually does use system-login. Why
should gdm use pam_mail.so, pam_lastlog.so, or pam_motd.so? So yes, the gdm
crap *is* related to using system-login.

system-auth is a perfect default: it contains just the things that *should* be
inhered by all things pam. The problem with system-login is that it contains
all kinds of extra things, making it unsuitable for general inheritance.

My question is: what exactly is the point of system-login? It contains way to
much stuff to make it suitable as a 'default pam thing for logins'. That would
be system-auth's job, for a minimal set of general things. If we want to do all
kinds of special things on console/gdm whatever logins, login/gdm/whatever
would be the place to specify them.

------- Comment #6 From Diego E. 'Flameeyes' Pettenò 2008-04-06 23:51:55 0000 -------
sudo has already backed away, as per GDM, it is interesting how it behaves, but
I'd rather not create a new system-console-local-login configuration file, so
I'd say look in gdm's way to find a solution.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug