Using man hostname, there is a -s option listed:
NAME
hostname - set or print name of current host system

SYNOPSIS
hostname [-s] [name-of-host]

DESCRIPTION
The hostname utility prints the name of the current host. The super-user
can set the hostname by supplying an argument.

Options:

-s Trim off any domain information from the printed name.
Craig Sutherland

"Who is John Galt"

On Nov 21, 2003, at 11:03 AM, jfm wrote:
On Nov 21, 2003, at 5:30 PM, Aaron Magill wrote:
Hadn't heard anything so I wanted to try again... has anyone else experienced the following or have any thoughts on what to do to correct it?

After installing coreutils, the fink version of su fails, apparently because it isn't properly getting account info from Panther. OpenSSH seems to also have this problem, as when I run the fink ssh daemon, I am unable to login remotely because all account/password combinations are rejected.

Any one else have similar problems with Panther or have thoughts on how to correct this? If it matters, I did a clean install of Panther (all Jaguar stuff removed first).

There was a problem in that the Apple-shipped cron-scripts use 'hostname -s',
and coreutils' hostname doesn't know this option, hence sets the hostname to '-s'.
>snip<
JF Mertens
>snip<

Reply via email to