* Frank Steiner <[EMAIL PROTECTED]> [09-29-06 04:33]:
> 
> He will, that's the point actually: when su'ing to root, the current
> PATH is kept! It's not resetted anymore, like in 9.0. So whenever a
> user, that has "." in his patch, types "su", root will have the same
> PATH (plus some more that are added from global profile).
> 
> I need the current PATH of the user typing "su" to be deleted, then
> re-initialized for root via /etc/profile etc. 
> 

then alias su to use a restricted shell and environment vars.
-- 
Patrick Shanahan                        Registered Linux User #207535
http://wahoo.no-ip.org                        @ http://counter.li.org
HOG # US1244711         Photo Album:  http://wahoo.no-ip.org/gallery2
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to