On Sun, Dec 22, 2013 at 3:35 PM, Bob Proulx wrote:
> Jon N wrote:
<---snip--->
>
>> Not empty, but if it contains illegal characters it won't make any
>> difference. I didn't find any error messages that would clue me in to
>> the problem (like: "Warning, you have illegal characters in your
>> ho
Jon N wrote:
> It does return the new hostname. But, I started wondering about legal
> characters. If you remember my old one was 'localhost-01' but in my
> new one I used an underscore (_). According to
> netregister.biz/faqit.htm no symbols are usable except the hyphen (-).
> No accented chara
Hi.
On Sat, 21 Dec 2013 22:32:06 -0500
Jon N wrote:
> It does return the new hostname. But, I started wondering about legal
> characters. If you remember my old one was 'localhost-01' but in my
> new one I used an underscore (_). According to
> netregister.biz/faqit.htm no symbols are usable
On Sat, Dec 21, 2013 at 9:02 PM, Bob Proulx wrote:
> Jon N wrote:
>> Dec 21 16:36:38 (none) lightdm: pam_unix(lightdm-greeter:session): session
>> opened for user lightdm by (uid=0)
>
> "(none)"? It thinks the hostname is "(none)"? That's not right.
> Unless you named your new system "(none)" w
Jon N wrote:
> Dec 21 16:36:38 (none) lightdm: pam_unix(lightdm-greeter:session): session
> opened for user lightdm by (uid=0)
"(none)"? It thinks the hostname is "(none)"? That's not right.
Unless you named your new system "(none)" with the parens which
shouldn't work.
> Dec 21 16:36:38 (none
On Sat, Dec 21, 2013 at 3:03 PM, Bob Proulx wrote:
> Karl E. Jorgensen wrote:
>> In general, if you're changing host name, *ALL* references to the old
>> name should be tweaked.
>>
>> I would recommend:
>>
>> # sed --in-place=.bak -e 's/localhost-01/yournewname/g' $(grep -lr
>> localhost-01 /et
On Sat 21 Dec 2013 at 12:56:35 -0700, Bob Proulx wrote:
> Changing the system hostname is a simple process. But it depends upon
> what is installed since often the hostname is embedded in the
> configuration of a package. For example the Postfix mail transport
> agent needs to know the hostname
Karl E. Jorgensen wrote:
> In general, if you're changing host name, *ALL* references to the old
> name should be tweaked.
>
> I would recommend:
>
> # sed --in-place=.bak -e 's/localhost-01/yournewname/g' $(grep -lr
> localhost-01 /etc)
Good intention but that will corrupt many binary files.
Jon N wrote:
> I recently installed Jessie on a new computer. Now that I have the
> system up and running I decided that I would like to have a different
> hostname than the rather unimaginative 'localhost-01' I picked during
> install. I used the "mate-network-admin" utility to change it, and
>
On Sat, Dec 21, 2013 at 6:45 PM, Jon N wrote:
>
> sysctl kernel hostname=NEW_HOSTNAME.
It's "sysctl -w kernel.hostname=NEW_HOSTNAME".
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive:
http:/
Hi
On Sat, Dec 21, 2013 at 01:45:11PM -0500, Jon N wrote:
> I recently installed Jessie on a new computer. Now that I have the
> system up and running I decided that I would like to have a different
> hostname than the rather unimaginative 'localhost-01' I picked during
> install. I used the "m
On Sat 21 Dec 2013 at 13:45:11 -0500, Jon N wrote:
> Anyway, the main question is, how do i change the hostname for my system?
I would edit /etc/hostname and change 'foo' to 'bar'
Then (because networking will now be confused), edit /etc/hosts and
change instances of 'foo' to 'bar'.
--
To UNS
On Tue, 2004-07-13 at 13:29, * Tong* wrote:
[snip]
> Paul Johnson's comment makes me think that changing the hostname
> is far from simple:
>
> ,-
> | > 127.0.0.1 cxmr.dyndns.org localhost
> |
> | 127.0.0.1localhost
> | cxmr.dyndns.orgcxmr
> `-
>
> That'
Thanks everyone for the reply.
I can say that changing the hostname, though seems simple, is the
most convoluted part in Linux. As expressed by Kent West:
,-
| there may be several places in the /etc directory where it is
| specified in various config files, such as /etc/hosts. There may
| b
On Mon, Jul 12, 2004 at 05:57:16PM -0400, * Tong* wrote:
>Hi,
>
>Quick question how to change hostname under debian?
>
>I changed my /etc/hosts
>from
>127.0.0.1 cxmr localhost
>to
>127.0.0.1 cxmr.dyndns.org localhost
>
>but why my hostname i
On Mon, Jul 12, 2004 at 05:57:16PM -0400, * Tong* wrote:
> Hi,
>
> Quick question how to change hostname under debian?
>
> I changed my /etc/hosts
> from
> 127.0.0.1 cxmr localhost
> to
> 127.0.0.1 cxmr.dyndns.org localhost
>
> but why my
On Mon, 12 Jul 2004 17:57:16 -0400, * Tong* wrote:
> Hi,
>
> Quick question how to change hostname under debian?
>
> I changed my /etc/hosts
> from
> 127.0.0.1 cxmr localhost to
> 127.0.0.1 cxmr.dyndns.org localhost
>
> but why my hostname is
* Tong* <[EMAIL PROTECTED]> writes:
> Hi,
>
> Quick question how to change hostname under debian?
>
> I changed my /etc/hosts
> from
> 127.0.0.1 cxmr localhost
> to
> 127.0.0.1 cxmr.dyndns.org localhost
>
> but why my hostname is still repor
On Mon, Jul 12, 2004 at 05:57:16PM -0400, * Tong* wrote:
> Hi,
>
> Quick question how to change hostname under debian?
>
> I changed my /etc/hosts
> from
> 127.0.0.1 cxmr localhost
> to
> 127.0.0.1 cxmr.dyndns.org localhost
>
I think you
On Mon, 12 Jul 2004 17:57:16 -0400
* Tong* <[EMAIL PROTECTED]> wrote:
> Quick question how to change hostname under debian?
Quick answer: edit /etc/hostname. No reboot necessary (but go to init
level 1 and back again to make sure stuff like Apache doesn't get an
identity crisis).
--
Got Backup
* Tong* wrote:
Hi,
Quick question how to change hostname under debian?
I changed my /etc/hosts
from
127.0.0.1 cxmr localhost
to
127.0.0.1 cxmr.dyndns.org localhost
but why my hostname is still reporting merely 'cxmr'?
How to fix it? (Surely I've r
Antonio Rodriguez wrote:
How do you change your host name after your installation is done?
(network settings)
check /etc/hosts, /etc/hostnames
Also, what are valid parameters for host name? I made afresh
installation of woody in a 386 I got in an auction, and every time gdm
starts it comp
"Frank" == Frank Copeland <[EMAIL PROTECTED]> writes:
Frank> On 26 Oct 02 13:27:32 GMT, Antonio Rodriguez
Frank> <[EMAIL PROTECTED]> wrote:
>> How do you change your host name after your installation is
>> done? (network settings)
Frank> This works for me:
Frank> # e
On 26 Oct 02 13:27:32 GMT, Antonio Rodriguez <[EMAIL PROTECTED]> wrote:
> How do you change your host name after your installation is done?
> (network settings)
This works for me:
# echo "newhostname" >/etc/hostname
# hostname "newhostname"
# grep -ir "oldhostname" /etc/*
Fix up any references
On Sat, Oct 26, 2002 at 09:27:32AM -0400, Antonio Rodriguez wrote:
> How do you change your host name after your installation is done?
> (network settings)
$ hostname -h
Usage: hostname [-v] {hostname|-F file} set host name (from file)
domainname [-v] {nisdomain|-F file} set NIS do
Donald R. Spoon wrote:
If you got the box at an auction, there are some other places that
might need "personality" changes to fit your situation. This is
probably the reason your mail commands are disappearing. You should
probably re-configure your MTA (i.e. eximconfig if using EXIM) to s
Antonio Rodriguez wrote:
How do you change your host name after your installation is done?
(network settings)
Also, what are valid parameters for host name? I made afresh
installation of woody in a 386 I got in an auction, and every time gdm
starts it complains about the host name. I also notic
Antonio Rodriguez wrote:
>
> How do you change your host name after your installation is done?
> (network settings)
try /etc/hostname
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Not exactly -- the authorized_keys file has five space-separated
fields: options bits exponent modulus comment. Options is where
options are specified (and is an optional field), and comment is still
comment. Changing hostname, or anything else, in the comment field
will not affect operability in a
On Fri, Jun 22, 2001 at 12:48:17PM -0700, der.hans wrote:
> I found /etc/exim/exim.conf, /etc/apache/conf/httpd.conf,
> etc/ppp/options.ttyXX and the ssh host key files. I've left the ssh keys
> alone, but the rest was easy to change.
IIRC it worked just fine when I changed the hostname part of ss
On Fri, Jun 22, 2001 at 01:53:23PM +0200, Joost Kooij wrote:
| On Fri, Jun 22, 2001 at 10:31:51AM +0200, Adri wrote:
| > I changed my /etc/hostname from debianAdriano to Adriano
| >
| > That's because I'd like to bring my debian under the Windows domain of the
| > company.
[snip lots of fun to r
Am 22. Jun, 2001 schwäzte Adri so:
> Well, I saw the exim.conf file and there were some referrings to the old
> host name (debianAdriano) so I run eximconfig again.
>
> But now I wonder what other files still refer to the old name? What
> consequences I'm gonna run into?
I changed my hostname
On Fri, Jun 22, 2001 at 01:46:18PM -0400, David L. Craig wrote:
> Joost wrote:
> >
> > In my experience, the best one is the bash(1) manpage. It is is really
> > vital. You don't properly realise how much until you've read all of it
> > (well maybe read a little faster over the readline bits).
>
Joost wrote:
>
> In my experience, the best one is the bash(1) manpage. It is is really
> vital. You don't properly realise how much until you've read all of it
> (well maybe read a little faster over the readline bits).
>
> Next come grep(1), sed(1) and awk(1).
No, next comes knowing your edi
On Fri, Jun 22, 2001 at 05:29:01PM +, Iain Smith wrote:
> On Fri, Jun 22, 2001 at 05:10:56PM +0200, Joost Kooij wrote:
> > You really don't want to mess with /dev/kmem and /proc/kcore. Install and
> > setup a user-mode-linux system if you like to toy with that stuff without
> > exposing real d
On Fri, Jun 22, 2001 at 05:10:56PM +0200, Joost Kooij wrote:
> Also must do is to read a book on unix systems. I suggest the 4.4 bsd
> book, because it is a lot more readable than some of the more well-known
> pamphlets by various illustruous academics[1]. Also, Kirk McKusick has
> a video with
On Fri, Jun 22, 2001 at 02:15:12PM +, Iain Smith wrote:
> > Until I found out about this wonderful "-r" option to gnu grep:
> >
> > grep -r myregex /etc
> >
> > wants to be your friend too.
>
> Hmmm I managed to miss that one completely. Time to re-rtfm! I knew of
> rgrep but found i
On Fri, Jun 22, 2001 at 02:23:46PM +0200, Joost Kooij wrote:
> On Fri, Jun 22, 2001 at 12:16:51PM +, Iain Smith wrote:
> > I'd suggest:
> >
> > find /etc/ -type f |xargs grep $HOSTNAME
>
> Well, that is a really big hammer in fact. And you will still miss
> stuff that is not under /etc, but
On Fri, Jun 22, 2001 at 12:16:51PM +, Iain Smith wrote:
> I'd suggest:
>
> find /etc/ -type f |xargs grep $HOSTNAME
Well, that is a really big hammer in fact. And you will still miss
stuff that is not under /etc, but has a symlink in /etc pointing to it.
I used to do it like this (or much w
Ian and Nico,
thanks to the both of you but I think I'm goin to reinstall from scratch.
The solutions you suggest are too difficult for me and I have nothing
important in this installation, so I have nothing to loose.
I don't want to take the risk to incurr in consequences of the changed
hos
On Fri, Jun 22, 2001 at 10:31:51AM +0200, Adri wrote:
> I changed my /etc/hostname from debianAdriano to Adriano
>
> That's because I'd like to bring my debian under the Windows domain of the
> company.
If you have to deal with those types of circumstances, try to go the easy
way: get a second p
> Adri,
>
> I'm in the habbit of reading loads of magazines / install guides / howto's
> and so on.
> They all warn for this situation. None of them give a way to 'solve' this.
> They 'just' pont out to 'think hard' at the domain and hostname part.
> I know that this does not help, so i hope this
Adri,
I'm in the habbit of reading loads of magazines / install guides / howto's
and so on.
They all warn for this situation. None of them give a way to 'solve' this.
They 'just' pont out to 'think hard' at the domain and hostname part.
I know that this does not help, so i hope this wil:
Use cat
43 matches
Mail list logo