You are not logged in.
Pages: 1
Topic closed
Hi,
I use slim to login in openbox WM.
I added nm-applet in autostart file of openbox.
When i logged, nm-applet want the password to unlock keyring.
It's possibile to disable it?
Thanks.
Offline
For the gnome-keyring this might help you:
Offline
For the gnome-keyring this might help you:
I use slim, not gdm.
I try to create a pam.d/slim file but I don't solve...
Offline
Slim does not work with PAM, GDM does...
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Slim does not work with PAM, GDM does...
I have found slim_pam in aur...
http://aur.archlinux.org/packages.php?ID=16225
Offline
For a moment I thought it was indeed a PAM module, but it seems to be a buildscript for SLiM, with PAM enabled. Would be very nice to see if it works.A bit strange it doesn't seem to install any PAM module though?
Last edited by B (2008-05-11 22:03:45)
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
It seems that since 1.3.0, SLiM have PAM support.
From SLiM INSTALL file:
1. to build and install the program:
- edit the Makefile to adjust libraries and paths to your OS (if needed)
- make
or
- make USE_PAM=1 to enable PAM support
- make install
After some additional searching, I have also found what appears to be PAM configuration file for SLiM.
From the link:
############################################################ begin /etc/pam.d/slim
#
# The PAM configuration file for the SLiM graphical login manager
#
# Disallows other than root logins when /etc/nologin exists
# (Replaces the `NOLOGINS_FILE' option from login.defs)
auth requisite pam_nologin.so
# This module parses environment configuration file(s)
# and also allows you to use an extended config
# file /etc/security/pam_env.conf.
#
# parsing /etc/environment needs "readenv=1"
session required pam_env.so readenv=1
# locale variables are also kept into /etc/default/locale in etch
# reading this file *in addition to /etc/environment* does not hurt
session required pam_env.so readenv=1 envfile=/etc/default/locale
# Standard Un*x authentication.
@include common-auth
# This allows certain extra groups to be granted to a user
# based on things like time of day, tty, service, and user.
# Please edit /etc/security/group.conf to fit your needs
# (Replaces the `CONSOLE_GROUPS' option in login.defs)
auth optional pam_group.so
# Uncomment and edit /etc/security/time.conf if you need to set
# time restrainst on logins.
# (Replaces the `PORTTIME_CHECKS_ENAB' option from login.defs
# as well as /etc/porttime)
# account requisite pam_time.so
# Uncomment and edit /etc/security/access.conf if you need to
# set access limits.
# (Replaces /etc/login.access file)
# account required pam_access.so
# Sets up user limits according to /etc/security/limits.conf
# (Replaces the use of /etc/limits in old login)
session required pam_limits.so
# SELinux needs to intervene at login time to ensure that the process
# starts in the proper default security context.
# Uncomment the following line to enable SELinux
# session required pam_selinux.so multiple
# Standard Un*x account and session
@include common-account
@include common-session
@include common-password
##################################################### end of /etc/pam.d/slim
I still haven't try it out though. Maybe someone who is more familiar with SLiM and PAM could take a look at this?
Last edited by zodmaner (2008-05-12 08:56:33)
Offline
Ohhh.... I want!
I am busy today but I have bookmarked this thread and will try tomorrow night after poker.
Offline
Couldn't resist so I am trying this out now!
For a moment I thought it was indeed a PAM module, but it seems to be a buildscript for SLiM, with PAM enabled. Would be very nice to see if it works.A bit strange it doesn't seem to install any PAM module though?
Naughty packager.... That is just the slim package with a extra compile option which is not allowed in AUR. If we can get a working /etc/pam.d/slim setup then I will get it added to that package. Otherwise, it will have to go.
Edit: here goes a discussion about potentially including a pam conf file in slim but it probably never happened...
Edit 2: the link.... https://lists.berlios.de/pipermail/slim … 00045.html
Edit 3: Any idea what this does in the gentoo ebuild?
pamd_mimic_system slim auth account password session
Edit 4: http://wiki.archlinux.org/index.php/Thinkfinger#SLiM Go Arch wiki!
Enough research, I am going to try this!
Edit 5: I lied, more research... this is the pam.d/slim file I decided on. Shamelessly stolen from Fedora.
#%PAM-1.0
auth required pam_env.so
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so
session optional pam_console.so
Edit 6: What is the most edits ever made to a post
Edit 7: man that slim_pam package is bad. It does not even include pam as a depend...
Edit 8: Ok, I tried this out. Installed the "slim_pam" package, used the above /etc/pam.d/slim file with the added lines as suggested in http://bbs.archlinux.org/viewtopic.php?id=40553 . Still got asked my password for gnome keyring with nm-applet on login... More research needed.
Last edited by Allan (2008-05-12 11:42:52)
Offline
Did you get it to work?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
No, and now I have to give up for the day and do the work I originally had planned for the evening.
Offline
Just a further not to confirm that auto-login to gnome-keyring does work in XFCE if you use gdm. I just had a feeling that it may be an XFCE issue and had to check...
Edit: Argh! I am getting no where and I have run out of ideas. I am beginning to this slim is just broken with PAM.
Last edited by Allan (2008-05-12 16:15:15)
Offline
I am beginning to this slim is just broken with PAM.
Of Course I meant PAM is broken in slim...
And maybe it is:
https://developer.berlios.de/bugs/?func … up_id=2663
Offline
I tried compiling slim from svn but that didn't help. So I am officially giving up on this for the time being...
Offline
Hi, what do you want i do for the package slim-pam ?
I can add your pam file but if pam doesn't work correctly ...
I delete the package ? Personally i use gdm now.
Offline
The AUR Package for Slim-Pam is broken
In the PKGBUILD file, it doesn't enable PAM support. You have to edit it and add a 1 after the =.
So
make USE_PAM= || return 1
becomes
make USE_PAM=1 || return 1
Also for pam file for autologin, use this:
#%PAM-1.0
auth requisite pam_nologin.so
auth required pam_env.so
auth required pam_unix.so
auth optional pam_gnome_keyring.so
account required pam_unix.so
session required pam_limits.so
session required pam_unix.so
session optional pam_gnome_keyring.so auto_start
password required pam_unix.so
Offline
I update the package.
Offline
Personally, I would recommend using wicd over nm-applet. I find it a seriously better wireless manager.
Last edited by Bonzodog (2008-05-27 15:49:22)
Offline
Did anyone test SLiM with the new PKGBUILD & PAM file? Would be very nice to see if it works (and I'm too lazy atm ).
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Personally, I would recommend using wicd over nm-applet. I find it a seriously better wireless manager.
I use gajim who use gnome-keyring.
Offline
cdemoulins, I'm not sure how your statement is related to Bonzodog's... Gajim is an IM app...
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
I think he means that since he already has gnome-keyring running, for him it makes more sense to use something that is integrated into his existing applications, aka gnome-network-manager, over wicd.
Offline
Did you guys figure it out? I have just managed to make it work, so if any of you are still interested, I can maybe help.
Offline
I thought it worked out of the box now. If not, add the info to the wiki.
http://wiki.archlinux.org/index.php/For … Bumping.27
Closing.
Offline
Pages: 1
Topic closed