--- Han Boetes <[EMAIL PROTECTED]> wrote: > Charles A Edwards ([EMAIL PROTECTED]) wrote: > > > Still a problem. > > > > [charles@localhost charles]$ su > > bash: /usr//bin/su: No such file or directory > > [charles@localhost charles]$ /bin/su > > Password: > > [root@localhost charles]# > > Why don't you have /bin in your $PATH? Or do I miss > something?
Good question. On 9.0, having not modified anything, my path is: /usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/walser/bin So, the problems are: 1) /usr/bin appears twice 2) /usr//bin has two slashes (haven't people reported this to be a problem?) 3) /bin is after first instance of /usr/bin in PATH Fix would be just get rid of whatever's putting that /usr//bin there. Also, with the specific problem Charles is having, it sounds like /usr/bin/su is a symlink to somewhere that doesn't exist. Anyway, I don't think that null should be in the path either (/usr/bin::/usr/local/bin), as that means current directory (security problem!). So where are all of these problems coming from? I just checked, and it's /usr/share/config/kdm/kdmrc, where I see: UserPath=/usr//bin:/bin:/usr/bin::/usr/local/bin I don't know how that got like that or why it's like that, but it's not good :o) __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com
