The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


bug in su (Slackware 3.4)


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
X-RDate: Mon, 23 Mar 1998 09:26:35 +0500 (ESK)
Date: Sun, 22 Mar 1998 19:49:40 +0100
From: Martin Schulze <[email protected]>
To: [email protected]
Subject: Re: bug in su (Slackware 3.4)

--xgI/oilGqZ+PHCdU
Content-Type: text/plain; charset=us-ascii

Here is a fix for this problem:

--- shadow-970616.orig/libmisc/sulog.c  Sun Mar 22 19:37:00 1998
+++ shadow-970616/libmisc/sulog.c       Sun Mar 22 19:36:44 1998
@@ -59,6 +59,7 @@
        if ( (sulog=getdef_str("SULOG_FILE")) == (char *) 0 )
                return;

+       umask(022);
        if ((fp = fopen (sulog, "a+")) == (FILE *) 0)
                return;                 /* can't open or create logfile */

Regards,

        Joey

--
  / Martin Schulze  *  [email protected]  *  26129 Oldenburg /
 /                                     http://home.pages.de/~joey/
/  VFS: no free i-nodes, contact Linus  -- finlandia, Feb '94   /

--xgI/oilGqZ+PHCdU
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia

iQCVAwUBNRVdRBRNm5Suj3z1AQHGQgP/SvaEy3iuFLC1j/X3gL43YW0n+v0E53KH
QgzUIJq4H4VFEotHZb1IQ2QN7QUcvdrm+3XYLbMDs+tHHr31yNSGJsejpnmD9MvN
5kd519Km8UAclEHiVtuc4aj0igDow6GXvtLd7b77COcxA1iXYYoLQhridr7O6a29
WG3c+7eLFng=
=7r8s
-----END PGP SIGNATURE-----

--xgI/oilGqZ+PHCdU--

<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру