From: Brian L. <bjl...@ya...> - 2007-08-02 03:34:09
|
--- Rainer Tammer <ta...@ta...> wrote: > Hello, > > hdkutz wrote: > > The commands differ! Check the man page and info > of /opt/freeware/bin/hostname. > > > I know. This is not the problem. Two things I do as a "best practice": 1. Don't compile code as root, only run the "make install" step as root. A non-root user should not be able to run "hostname -s" to successfully rename the host. 2. On AIX, when performing compiles, change your path so that "/usr/linux/bin" is at the beginning of your path, so that all GNU utilities find what they expect. Brian ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/ |