Ask a Question related to FreeBSD, Design and Development.
-
michael Christie #1
server name
Hi all,
Can any one please tell me how to change the name of the computer at the
command prompt ie my name#
Thanks
Michael
michael Christie Guest
-
I?ve got a problem writing files on the server side withFlash Media Server 2.0.2 and 2.0.3.
Hello, I?ve got a problem writing files on the server side with Flash Media Server 2.0.2 and 2.0.3. The same code was working fine with an older... -
I have a flash movie running a http server but it needsto connect to another server in https.
I have a flash movie running a http server but it needs to connect to another server in https. I am having problems when trying to open the url in... -
I have a flash movie running a http server but it needsto connect to another server in https
I have a flash movie running a http server but it needs to connect to another server in https. I am having problems when trying to open the url in... -
Problems! WinNT Client -> WinXP Web Server -> Win2000 File Server
Hi everyone, I have an WinXP Server and an ASP.NET application that access files in a third machine, Win2000 Server. I am using Windows... -
uploading fiels from one unix server to another server usin perl cgi script.
Hi all, I have a task at hand , that of uplaoding file from server to another server and also pass 6 paramteres along with the file. ... -
Rus Foster #2
Re: server name
On Mon, 21 Feb 2005, michael Christie wrote:
Run "hostname mynewname.com". You will also want to updatee /etc/rc.conf> Hi all,
>
> Can any one please tell me how to change the name of the computer at the
> command prompt ie my name#
>
Rus
--
e: [email]rghf@vpscolo.com[/email] : t: 1-888-327-6330
[url]http://www.vaserv.com[/url] - Coming soon. Email [email]sales@vaserv.com[/email] for more info
[url]http://www.storemypic.com[/url] - Free Image Hosting
[url]http://www.vpsforums.com[/url] - Talk for VPS users and Providers
[url]http://www.jvds.com[/url] - VPS Hosting for the geeks
Rus Foster Guest
-
michael Christie #3
Re: server name
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.
Please advise
thanks
Michael
On Mon, 2005-02-21 at 10:16 +0000, Rus Foster wrote:
> On Mon, 21 Feb 2005, michael Christie wrote:
>>> > Hi all,
> >
> > Can any one please tell me how to change the name of the computer at the
> > command prompt ie my name#
> >
> Run "hostname mynewname.com". You will also want to updatee /etc/rc.conf
>
> Rusmichael Christie Guest
-
Eilko Bos #4
Re: server name
Hi,
A hostname is not an IP-address.>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.
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.
Eilko Bos Guest
-
Bas Essers #5
Re: server name
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 <tafkam@brasapen.org> 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.
> _______________________________________________
> [email]freebsd-questions@freebsd.org[/email] mailing list
> [url]http://lists.freebsd.org/mailman/listinfo/freebsd-questions[/url]
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
--
Met vriendelijke groet,
Bas Essers
Bas Essers Guest



Reply With Quote

