Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37740624
en ru br
Репозитории ALT
S:1.5.2-alt1
5.1: 1.5-alt2
www.altlinux.org/Changes

Группа :: Система/Основа
Пакет: timeoutd

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Summary: Automatically logout users by idle timeouts
Name: timeoutd
Version: 1.5.2
Release: alt1
License: GPL
Group: System/Base
Packager: Paul Wolneykien <manowar at altlinux.org>
Source: %name-%version.tar

BuildRequires: libX11-devel libXScrnSaver-devel libXext-devel libsystemd-devel

%description
timeoutd scans /var/run/utmp every minute and checks /etc/timeouts for an entry which matches a restricted user, based on:
- The current day and time
- The tty that the user is currently logged in on
- The user's login ID
- Any primary or secondary groups the user is in
timeoutd can restrict local users, X11-users and users via telnet/SSH for a maximum of their session, max. day, idle or no login at all.
timeoutd is also able to restrict users running X.

%prep
%setup

%build
%make_build CFLAGS="$RPM_OPT_FLAGS -DWITH_SYSTEMD"

%install
%makeinstall_std
mkdir -p %buildroot%_sysconfdir/%name/messages

%files
%doc README
%dir %_sysconfdir/%name
%dir %_sysconfdir/%name/messages
%config(noreplace) %_sysconfdir/%name/timeouts
%_sbindir/%name
%_initdir/%name
%_man5dir/*
%_man8dir/*
%_unitdir/%name.*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin