oriolrius.cat

Des del 2000 compartiendo sobre…

Mòdul pam_mount

Reading time: 2 – 4 minutes

Perquè serveix:

This module is aimed at environments with SMB (Samba or Windows NT) or NCP
(Netware or Mars-NWE) servers that Unix users wish to access transparently. It
facilitates access to private volumes of these types well. The module also
supports mounting home directories using loopback encrypted filesystems.

Avantatges del PAM_MOUNT:

* Every user can access his own volumes
* The user needs to type the password just once (at login)
* The mounting process is transparent to the users
* There is no need to keep the login passwords in any additional file
* The volumes are unmounted upon logout, so it saves system resources, avoiding
the need of listing every every possibly useful remote volume in /etc/fstab or
in an automount/supermount config file. This is also necessary for securing
encrypted filesystems.

La web del projecte és:
pam_mount en aquest direcció trobareu més
informació de com usar el pam_mount.

Si voleu saber com instal·lar-ho amb Gentoo…

Instal·lant el paquet amb gentoo

Com que el paquet de pam_mount no esta disponible per gentoo encara, he fet el
meu propi ebuil pels que el vulguin instal·lar:


/usr/portage/sys-libs/pam_mount/pam_mount-0.9.9.ebuild

inherit eutils

DESCRIPTION=”PAM MOUNT”
SRC_URI=”http://www.flyn.org/projects/pam_mount/${P}.tar.gz”
HOMEPAGE=”http://www.flyn.org/projects/pam_mount/index.html”

IUSE=”pam ssl”

LICENSE=”GPL-2″
SLOT=”0″
KEYWORDS=”~x86 ~ppc ~sparc ~alpha ~hppa ~mips”

RDEPEND=”sys-libs/pam”
DEPEND=”ssl? ( dev-libs/openssl )
sys-libs/pam”

src_compile() {
econf || die “econf failed”
emake || die “make failed”
}

src_install() {
dodir /lib/security /usr/bin /usr/share/man/man1
einstall || die “einstall failed”
dodoc AUTHORS COPYING Changelog README TODO
}

un cop el tinguem copia al dectori adient us recomano que feu el següent
per crear el digest:

ebuild
/usr/portage/sys-libs/pam_mount/pam_mount-0.9.9.ebuild digest

un cop creat el digest ja el podem instal·lar:

emerge /usr/portage/sys-libs/pam_mount/pam_mount-0.9.9.ebuild

i ala, ja ta! ja podem començar a jugar amb el pam_mount amb la nostre
gentoo.

Per desinstal·lar el paquet si no ús funciona el típic
emerge unmerge, podeu usar:

ebuild /usr/portage/sys-libs/pam_mount/pam_mount-0.9.9.ebuild unmerge

Comments are closed.

Últimas entradas

Resumen 2023

Reading time: 14 – 22 minutes El 2023 comenzó con una sensación de renovación y optimismo. Tras un período marcado por la pandemia, este año se presentó como un lienzo en blanco, lleno de posibilidades y nuevas experiencias. Aunque el

Leer más »
Archivo