Mailinglist Archive: opensuse-commit (1080 mails)
| < Previous | Next > |
commit thinkfinger
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Thu, 13 Sep 2007 18:59:06 +0200
- Message-id: <20070913165906.BC46D678331@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package thinkfinger
checked in at Thu Sep 13 18:59:06 CEST 2007.
--------
--- thinkfinger/thinkfinger.changes 2007-06-11 15:21:27.000000000 +0200
+++ /mounts/work_src_done/STABLE/thinkfinger/thinkfinger.changes 2007-09-13 16:24:08.187693000 +0200
@@ -1,0 +2,6 @@
+Thu Sep 13 16:22:53 CEST 2007 - thoenig@xxxxxxx
+
+- Add patch thinkfinger-refuse-remote-login-thoenig-01.patch: Re-
+ fuse authentication for remote logins (#309895)
+
+-------------------------------------------------------------------
New:
----
thinkfinger-refuse-remote-login-thoenig-01.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ thinkfinger.spec ++++++
--- /var/tmp/diff_new_pack.K23783/_old 2007-09-13 18:58:48.000000000 +0200
+++ /var/tmp/diff_new_pack.K23783/_new 2007-09-13 18:58:48.000000000 +0200
@@ -13,15 +13,16 @@
Name: thinkfinger
URL: http://sourceforge.net/projects/thinkfinger
-Summary: ThinkFinger driver for the SGS Thomson Microelectronics fingerprint reader
+Summary: ThinkFinger Driver for the SGS Thomson Microelectronics Fingerprint Reader
BuildRequires: coreutils libusb-devel pam-devel pkgconfig
Version: 0.3
-Release: 1
-License: GNU General Public License (GPL)
+Release: 2
+License: GPL v2 or later
Group: System/Libraries
Source0: %{name}-%{version}.tar.gz
Source1: common-auth.example
Source2: pam_thinkfinger-uinput
+Patch0: thinkfinger-refuse-remote-login-thoenig-01.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
%package -n libthinkfinger
@@ -72,6 +73,7 @@
%prep
%setup
+%patch0 -p0
cp %{S:1} %{S:2} .
%build
@@ -144,6 +146,9 @@
%{_mandir}/*/pam_thinkfinger*
%changelog
+* Thu Sep 13 2007 - thoenig@xxxxxxx
+- Add patch thinkfinger-refuse-remote-login-thoenig-01.patch: Re-
+ fuse authentication for remote logins (#309895)
* Mon Jun 11 2007 - thoenig@xxxxxxx
- Merge changes from SLE10-SP1 to STABLE
* Wed May 16 2007 - olh@xxxxxxx
++++++ thinkfinger-refuse-remote-login-thoenig-01.patch ++++++
--- pam/pam_thinkfinger.c 2007-03-29 17:00:45.000000000 +0200
+++ pam/pam_thinkfinger.c 2007-09-13 16:13:48.000000000 +0200
@@ -223,6 +223,7 @@
{
int ret;
int retval = PAM_AUTH_ERR;
+ const char *rhost = NULL;
pam_thinkfinger_s pam_thinkfinger;
struct termios term_attr;
libthinkfinger_init_status init_status;
@@ -237,6 +238,12 @@
if (pam_thinkfinger.isatty == 1)
tcgetattr (STDIN_FILENO, &term_attr);
+ pam_get_item (pamh, PAM_RHOST, &rhost);
+ if (rhost != NULL) {
+ pam_thinkfinger_log (&pam_thinkfinger, LOG_ERR, "Error: Remote login from host \"%s\" detected.", rhost);
+ goto out;
+ }
+
pam_get_user (pamh, &pam_thinkfinger.user, NULL);
if (pam_thinkfinger_user_sanity_check (&pam_thinkfinger) || pam_thinkfinger_user_bir_check (&pam_thinkfinger) < 0) {
pam_thinkfinger_log (&pam_thinkfinger, LOG_ERR, "User '%s' is unknown.", pam_thinkfinger.user);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |