default search path for root

Grant DeLorean grant at bluemoon.UUCP
Thu Jan 3 04:00:24 AEST 1991


woodward at uicbert.eecs.uic.edu (Jeff Woodward) writes:

>.login, and .profile for root, but how do i change the
>"su" default path in system V?  

 Under ISC, there is a file (/etc/default/su) that controls
su. If one sets SUPATH in that file, that will be the path
for folks while they are su'ed. You have to specify the whole
path, no shortcuts with this one...

>how do i do that for ALL users in sunOS?  

 I have no idea if Sun uses the above or not. It may give you a
starting place though...
-- 
 Grant DeLorean  (grant at bluemoon) {osu-cis!n8emr!, nstar!}bluemoon!grant
/* So just remember, if a weirdo in a blue suit comes up and offers you
some DOS, just say NO!
    (a message from the President's War on DOS committee) */



More information about the Comp.unix.questions mailing list