[K12OSN] My (probably really and truly) final issue with pam_mount

Rob Owens hick518 at yahoo.com
Sun Dec 10 12:52:05 UTC 2006


I used the following instructions to assign *all*
users who login through GDM to certain groups.  I
don't think this is what you want to do, but maybe
it'll give you some clues.


Snipped from
http://tech.canterburyschool.org/tech/UbuntuWorkstations

Logins validated by the Windows server won't correctly
pickup membership in local groups, making sound, USB
devices, etc. inaccessible. To fix that do the
following (Thanks to Steve Towson, Marist Brothers
International School, Japan):

   1.

      edit /etc/pam.d/gdm to include

            auth optional pam_group.so
                    

   2.

      edit /etc/security/group.conf to include

           
gdm;*;*;Al0000-2400;floppy,audio,cdrom,video,plugdev,scanner
                   

Explanation:

    *

      No.1 instructs gdm to use the
/etc/security/group.conf
    *

      No.2 assigns membership of the floppy, audio,
cdrom, video, plugdev (usb sticks) and scanner groups
to any user who logs in through the gdm.

-Rob

--- Tom Wolfe <twolfe at sawback.com> wrote:

> Thanks to Mel's tip I've finally got steps 1, 2, and
> 3 of my active
> directory problem solved completely.
> 
> Ok now I've got one final (yeah right) thing I'm
> trying to figure out.
> 
> I have two user groups, teachers and students, who
> have their documents on
> two different servers. So can anyone recommend a
> pam_mount.conf setting
> that will figure things out? Or should I just write
> one volume mount line
> for each share, and let one fail and the other
> succeed depending on the
> group?
> 
> Regards,
> Tom Wolfe
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




More information about the K12OSN mailing list