Archive for July 22, 2009

/etc/pam.d/login diff

Posted in crunchbang on July 22, 2009 by lucky

I wrote late last night that I removed gdm. One of the consequences was that pam-gnome-keyring is tied to the configuration in /etc/pam.d/gdm; the standard config for console login doesn’t start it (this may be an issue if changing from gdm to other X logins like slim or xdm; I don’t know because I don’t care) so anything using pam-gnome-keyring, such as networkmanager or pgp, will prompt for passwords without using gnome-keyring (e. g., I had to manually enter my WPA passphrase to connect to my router).

As I wrote last night, I edited /etc/pam.d/login with a few lines from the gdm file in that same directory. Here’s the diff between the original file and new file.

40c40
 # @include common-auth
83,84c83,84
< @include common-session
 # @include common-session
> # @include common-password
90a91,98
>
> @include common-auth
> auth    optional        pam_gnome_keyring.so
> @include common-account
> session required        pam_limits.so
> @include common-session
> session optional        pam_gnome_keyring.so auto_start
> @include common-password

Or, in a nutshell, I just commented out lines in /etc/pam.d/login which were duplicated with the seven lines I added. If you copy over the gdm settings and don’t comment those out, be prepared to enter your password twice at login (like I did the first time before fixing that).

Site News and Updated Packages

Posted in crunchbang, my stuff on July 22, 2009 by lucky

I set up a page (linked within My Aspire One Page) to track changes in packages I’m using or building. I’m off my feet for a few days nursing an injury so I should have more time this weekend to rebuild a few more things that have been aggravating me and to work on a few more things (like wifiroamd which I built this morning but don’t have time to set up). Depends how much I have to catch up at work since I’m taking off at least today.

I think I’m done with the aesthetics of the site for a while. I’m not so crazy about it but I wanted something a little more interesting than black text on white background but still clear and legible. I wanted a grey and blue or even black and blue theme but didn’t find one that appealed to me. Doesn’t look any different to me in elinks. I’m going to try to add more multimedia content (like video tutorials) but no time frame or immediate plans. Don’t worry, I won’t clutter the world with yet another Linux-related podcast. There are enough already and I don’t think I have any more (or less?) to add than what’s already available.

Finally, I also may merge my other two blogs into this one. I need to see if/how I can do that or if it’s not as easy as merely exporting them to files and importing them in here.