ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Genix <genix@list.ru>
To: Anton Gorlov aka stalker <pnz37@mail.ru>,
	ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] PAM_MOUNT
Date: Wed, 27 Apr 2005 17:13:22 +0400
Message-ID: <426F8FF2.8030208@list.ru> (raw)
In-Reply-To: <713739919.20050427165401@mail.ru>

[-- Attachment #1: Type: text/plain, Size: 256 bytes --]

Anton Gorlov aka stalker wrote:

>>не надо ничего удалять, я похоже нашел выход
>>нужне переопределить moduledir
> 
> 
> А точнее?

см. спек
я не нашел макроса для /lib, поэтому обошелся без него ;)

Вы это хотели?


-- 
У каждого в башке свои тараканы...

[-- Attachment #2: pam_mount.spec --]
[-- Type: text/plain, Size: 4083 bytes --]

Name: pam_mount
Version: 0.9.22
Release: ant1

Summary: PAM module for mount

License: LGPL
Group: System/Base

Source: %name-%version.tar.gz
Patch0: Makefile.in.patch
Patch1: Makefile.am.patch

BuildRequires: glib2-devel pam-devel openssl-devel zlib-devel

%description
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. The module was originally written for 
use on the GNU/Linux operating system but has since been modified to 
work on several flavors of BSD.

 o Every user can access his own volumes

 o The user needs to type the password just once (at login)

 o The mounting process is transparent to the users

 o There is no need to keep the login passwords in any additional file

 o 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.

Pam_mount "understands" SMB, NCP, and any type of filesystem that can 
be mounted using the standard mount command. If someone has a 
particular need for a different filesystem, feel free to ask me to 
include it and send me patches.

If you intend to use pam_mount to protect volumes on your computer 
using an encrypted filesystem system, please know that there are many 
other issues you need to consider in order to protect your data. 
For example, you probably want to disable or encrypt your swap 
partition (the cryptoswap can help you do this). Don't assume a 
system is secure without carefully considering potential threats.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
%configure

%install
make install DESTDIR=%buildroot moduledir=/lib/security

%__install -pD -m644 config/pam_mount.conf %buildroot%_sysconfdir/security/pam_mount.conf
%__rm -f %buildroot%_lib/security/pam_mount.a

%files
/lib/security/*.so
%_sbindir/*
%_bindir/*
%_man8dir/*
%config(noreplace) %_sysconfdir/security/pam_mount.conf

%doc	AUTHORS COPYING ChangeLog INSTALL NEWS README FAQ


%changelog
* Thu Feb 10 2005 W. Michael Petullo <mike[@]flyn.org> - 0.9.22-0.fdr.1
   - Updated to pam_mount 0.9.22.

   - Should now build properly on x86-64.

* Sun Dec 12 2004 W. Michael Petullo <mike[@]flyn.org> - 0.9.21-0.fdr.1
   - Updated to pam_mount 0.9.21.

* Fri Jul 23 2004 W. Michael Petullo <mike[@]flyn.org> - 0.9.20-0.fdr.1
   - Updated to pam_mount 0.9.20.

* Sun Jun 27 2004 W. Michael Petullo <mike[@]flyn.org> - 0.9.19-0.fdr.1
   - Updated to pam_mount 0.9.19.

   - Moved policy sources to /etc/selinux.

* Sun Apr 25 2004 W. Michael Petullo <mike[@]flyn.org> - 0.9.18-0.fdr.1
   - Updated to pam_mount 0.9.18.

   - Added mount.crypt and umount/crypt.

   - Added pmvarrun.

* Wed Apr 21 2004 W. Michael Petullo <mike[@]flyn.org> - 0.9.17-0.fdr.1
   - Updated to pam_mount 0.9.17.

   - Added pam_mount_macros.te.

* Tue Mar 23 2004 W. Michael Petullo <mike[@]flyn.org> - 0.9.16-0.fdr.1
   - Updated to pam_mount 0.9.16.

   - Ensure pam_mount.conf etc. has safe permissions (install vs. cp).

   - Don't compress documentation files.

   - Don't set distribution in .spec.

   - Remove uneeded prefix definition.

   - Fix buildroot.

* Wed Mar 10 2004 W. Michael Petullo <mike[@]flyn.org> - 0.9.15-0.fdr.1
   - Updated to pam_mount 0.9.15.

   - Added zlib-devel to BuildRequires.

* Tue Feb 10 2004 W. Michael Petullo <mike[@]flyn.org> - 0.9.14-0.fdr.1
   - Updated to pam_mount 0.9.14.

   - Added pam_mount_auth.so and pam_mount_session.so to package.

* Sat Jan 25 2004 W. Michael Petullo <mike[@]flyn.org> - 0.9.13-0.fdr.1
   - Updated to pam_mount 0.9.13.

* Sat Jan 24 2004 W. Michael Petullo <mike[@]flyn.org> - 0.9.12-0.fdr.2
   - RPM specification work.

* Fri Jan 23 2004 W. Michael Petullo <mike[@]flyn.org> - 0.9.12-0.fdr.1
   - Updated to pam_mount 0.9.12.


  reply	other threads:[~2005-04-27 13:13 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27  8:44 Anton Gorlov aka stalker
2005-04-27  8:48 ` Genix
2005-04-27  8:50   ` Re[2]: " Anton Gorlov aka stalker
2005-04-27  9:39     ` Andrey Rahmatullin
2005-04-27 10:23       ` Re[2]: " Anton Gorlov aka stalker
2005-04-27 10:46         ` Genix
2005-04-27  8:50 ` Alexey I. Froloff
2005-04-27  8:54   ` Re[2]: " Anton Gorlov aka stalker
2005-04-27  9:31     ` php-coder
2005-04-27  9:31       ` Re[2]: " Anton Gorlov aka stalker
2005-04-27  9:48         ` php-coder
2005-04-27 10:04           ` Re[2]: " Anton Gorlov aka stalker
2005-04-27 10:17             ` Re[3]: " Anton Gorlov aka stalker
2005-04-27 10:24             ` php-coder
2005-04-27 10:22               ` Re[2]: " Anton Gorlov aka stalker
2005-04-27 10:52                 ` php-coder
2005-04-27 11:04                   ` php-coder
2005-04-27 11:14                     ` Re[2]: " Anton Gorlov aka stalker
2005-04-27 11:18                       ` Genix
2005-04-27 11:40                         ` Re[2]: " Anton Gorlov aka stalker
2005-04-27 11:44                           ` Genix
2005-04-27 11:46                             ` Re[2]: " Anton Gorlov aka stalker
2005-04-27 12:03                             ` Anton Gorlov aka stalker
2005-04-27 12:44                                         ` Anton Gorlov aka stalker
2005-04-27 12:52                                           ` Genix
2005-04-27 12:54                                             ` Re[2]: " Anton Gorlov aka stalker
2005-04-27 13:13                                               ` Genix [this message]
2005-04-27 13:19                                                 ` Alexey I. Froloff
2005-04-27 13:34                                                   ` Re[2]: " Anton Gorlov aka stalker
2005-04-27 13:38                                                     ` Anton D. Kachalov
2005-04-27 13:42                                                       ` Re[2]: " Anton Gorlov aka stalker
2005-04-27 13:47                                                         ` Genix
2005-04-27 13:54                                                           ` Alexey I. Froloff
2005-04-27 14:05                                                         ` Andrey Rahmatullin
2005-04-27 14:08                                                           ` Re[2]: " Anton Gorlov aka stalker
2005-04-27 14:22                                                             ` Andrey Rahmatullin
2005-04-27  9:36       ` Andrei Bulava
2005-04-27  8:59 ` Andrew Borodin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=426F8FF2.8030208@list.ru \
    --to=genix@list.ru \
    --cc=pnz37@mail.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git