--> it works for me. if you go into root's home directory, and look at the login
--> profile, make sure that there is a . at the very end of your path statement,
--> PATH=/etc:/bin:/sbin:.
--> without that . there, it only looks at the directories in the path, not the
--> current directory that you are in.
--
--This is a very bad idea. Putting the current directory in root's path
--is a significant sercurity error. Of course, if you're going to put it
--in there then putting it at the end is much better than the beginning,
--but I would avoid this entirely.
--
--If you want to run a command in the current directory just do:
--
-- # ./command
--
--I generally type the full path to most commands as root anyways, but
--that's just me :)
What is such a security error with what I said? I've never done what I said, but
about the same thing. I have root's login disabled, to I have to su to root. I
have the . at the end of my user's path, and when I su to root, it keeps my
paths, including the ., so I always can run the program in the current
directory. I only su to root when I need to, don't use it for everything, hence
why I did it this way. I've always done this. Can someone please explain to me
why it is such a security problem? And sorry to the person that I told this to,
if I realized this was a mistake, I wouldn't have told him to do that.
Thanks,
jake
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.