maybe i get this wrong, but do you just want to change the name that appears in your shell prompt? you can make up anything you want for that, but you have to consult the manpage for your shell.
On Mon, 21 Feb 2005 11:44:47 +0100, Eilko Bos <[EMAIL PROTECTED]> wrote: > Hi, > > >From the keyboard of michael Christie, written on Mon, Feb 21, 2005 at > >09:31:23PM +1100: > > I see what you mean, that may not help me as my host name is an ip > > address running in a jail. There for my host name at the command prompt > > is 192# if I change the ip to a name in the /etc/rc.conf I do not > > think the jail will run. > > A hostname is not an IP-address. > For a jail, the hostname is given in the commandline. You should change that > for in case you have to restart the jail. Also, you should update /etc/hosts > and /etc/rc.conf to refect the changes. This might be needed for e.g. running > services like Apache and MySQL. > > Keep in mind, from man(8) jail: > > NOTE: If you plan to allow untrusted users to have root access inside the > jail, you may wish to consider setting the > security.jail.set_hostname_allowed sysctl variable to 0. Please see the > management discussion later in this document as to why this may be a good > idea. If you do decide to set this variable, it must be set before > starting any jails, and once each boot. > > Grtz, > -- > Eilko. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Met vriendelijke groet, Bas Essers _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"