vlock
Marcin Korzonek
mkorz at lo13.univ.szczecin.pl
Fri Sep 18 09:56:35 CEST 1998
Hej,
Takie małe, ale przydatne narządko:
##############################################################
Summary: locks one or more virtual consoles
Summary(de): sperrt eine oder mehrere virtuelle Konsolen
Summary(fr): verrouille une ou plusieurs consoles virtuelles
Summary(pl): Umożliwia zablokowanie dostępu do terminala
Summary(tr): Sanal konsol kilitleme aracý
Name: vlock
Version: 1.2
Release: 2
Copyright: GPL
Group: Utilities/Console
Source: ftp://tsx-11.mit.edu:/pub/linux/sources/usr.bin/%{name}-%{version}.tar.gz
Patch: vlock-glibc-2.1.patch
Requires: pam >= 0.65
Buildroot: /tmp/%{name}-%{version}
%description
vlock either locks the current terminal (which may be any kind of
terminal, local or remote), or locks the entire virtual console
system, completely disabling all console access. vlock gives up
these locks when either the password of the user who started vlock
or the root password is typed.
%description -l de
vlock sperrt entweder das aktuelle Terminal (lokal oder entfernt)
oder das gesamte virtuelle Konsolensystem, wobei der Konsolenzugriff
völlig deaktiviert wird. vlock gibt die Sperren frei, wenn entweder
das Paßwort des Benutzers, der vlock gestartet hat, oder das Root-
Paßwort eingegeben wird.
%description -l fr
vlock verrouille soit le terminal courant (qui peut ętre de tout
type, local ou distant), soit le systčme entier des consoles
virtuelles, désactivant ainsi tout accčs aux consoles. vlock
défait ces verrous lorsque le mot de passe de l'utilisateur qui
l'a lancé, ou celui de root, est entré.
%description -l pl
vlock blokuje bieżący terminal lub całą konsolę systemu
uniemożliwiając dostęp do wszystkich wirtualnych terminali.
Do odblokowania potrzebne jest hasło użytkownika,
który uruchomił vlock, albo administratora systemu (root-a).
%description -l tr
vlock kullanýcýnýn kullanmakta olduđu terminali kilitlemesini sađlar. Bu
terminal yerel bir terminal ya da uzaktan eriţilmiţ bir terminal olabilir.
Diđer bir seçenek de bütün sanal konsol sistemini kilitleyerek her türlü
konsol eriţimini kapatmaktýr. Konsolun kilidinin açýlmasý için ya
kilitleyen kullanýcýnýn ya da root kullanýcýsýnýn parolasýnýn girilmesi
gerekir.
%prep
%setup -q
%patch -p1
%build
OPTFLAGS="$RPM_OPT_FLAGS" make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/man/man1
mkdir -p $RPM_BUILD_ROOT/etc/pam.d
install vlock $RPM_BUILD_ROOT/usr/bin
install vlock.1 $RPM_BUILD_ROOT/usr/man/man1
install vlock.pamd $RPM_BUILD_ROOT/etc/pam.d/vlock
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644, root, root)
%doc README
%attr(644, root, root) %config /etc/pam.d/vlock
%attr(611, root, root) /usr/bin/vlock
%attr(644, root, man) /usr/man/man1/vlock.1
%changelog
* Fri Sep 18 1998 Marcin Korzonek <mkorz at shadow.eu.org>
- translations modified for pl
- build against glibc 2.1
- changed files permission
* Mon May 04 1998 Prospector System <bugs at redhat.com>
- translations modified for de, fr, tr
* Thu Mar 12 1998 Michael K. Johnson <johnsonm at redhat.com>
- Does not create a DoS attack if pty is closed (not applicable
to use on a VC)
* Fri Oct 10 1997 Michael K. Johnson <johnsonm at redhat.com>
- Moved to new pam conventions.
- Use pam according to spec, rather than abusing it as before.
- Updated to version 1.1.
- BuildRoot
* Mon Jul 21 1997 Erik Troan <ewt at redhat.com>
- built against glibc
* Mon Mar 03 1997 Michael K. Johnson <johnsonm at redhat.com>
- moved from pam.conf to pam.d
Pozdrowienia
--
Marcin Korzonek
mkorz at shadow.eu.org
More information about the pld-devel-pl
mailing list