[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-sh-utils] suggested patch for 'su'

From: Denice
Subject: [Bug-sh-utils] suggested patch for 'su'
Date: Tue, 19 Sep 2000 17:01:20 +0200 (MEST)

Hello, I have attached a patch that would give the compile-time
possibility of setting root's PATH when a user does an 'su' without the
login environment options.  I think it is potentially insecure to leave
the user's PATH for the superuser to depend on, especially given the large
number of newbies entering the gnu world.  It would be useful to have this

The switch is -DPARANOID_PATH, and causes the path to be set to
DEFAULT_ROOT_LOGIN_PATH.  I have tested it on linux/gcc and on
hp-ux/ansic.  Let me know if there is anything else I should do to make
this patch acceptable....

  cheers from Denice

denice.deatrich @ epfl.ch, ADM/SIC, E.P.F.L.   PH: +41 (21) 693 22 53
<*> This moment's fortune cookie:

Attachment: su-paranoidpath.patch
Description: patch that adds a compile-time switch

reply via email to

[Prev in Thread] Current Thread [Next in Thread]