Re: hostname problem
Hi,
>>"E" == E Papantoniou <eenep@sun.leeds.ac.uk> writes:
E> Hi all, I am having the following problem with the hostname:
E> when I login as a normal user I get the message:
E> hostname: you must be root to change the host name
E> I suspect that I might have messed up with files or permissions
E> without realising it, but I don't know where to start looking...any
E> ideas?
This is strange. Try this:
% grep hostname ~/.bash* ~/.profile* ~/.login* ~/.cshrc*
% type -a hostname
% hostname
manoj
__> type -a hostname
hostname is /bin/hostname
__> ls -als /etc/hostname
1 -rw-r--r-- 1 root root 7 Nov 21 03:02 /etc/hostname
__> hostname
tiamat
--
"Life is better than death, I believe, if only because it is less
boring, and because it has fresh peaches in it." Alice Walker
Manoj Srivastava <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: