Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37713624
en ru br
ALT Linux repos
S:0.2-alt1

Group :: System/Base
RPM: pam_pegasus

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pam_pegasus
Version: 0.2
Release: alt1

Summary: Pluggable private /tmp space support for interactive sessions
License: GPLv2+
Group: System/Base

Source: %name-%version.tar

BuildRequires: libpam-devel

%description
pam_pegasus is a PAM module which may be used with a PAM-aware login
service to provide per-user privately mounted /tmp directory
as a part of PAM session management.

The directory is being mounted with the following mount options:
-t tmpfs -o mode=0700,uid=UID,gid=GID,size=64g

This PAM module was implemented for use in pegasus systems, hence the name.

%prep
%setup

%build
cc %optflags %optflags_shared -Werror --shared \
-Wl,--version-script,%name.map \
%name.c -lpam -o %name.so
%set_verify_elf_method strict

%install
install -pDm644 %name.so %buildroot/%_lib/security/%name.so

%files
/%_lib/security/%name.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin