A buddy of mine bought an older RS/6000 CAD workstation runing AIX to learn on, and had me put it on his LAN at home. I used smit to change the hostname/IP. After a reboot I try to login, and get a message saying that DTMessage cannot start, and gives a changed hostname as one of the possible... (3 Replies)
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Hi All,
While installing Red Hat Linux, I tried changing the timezone to Japan for testing.But the timezone was not set to Japan.
I tried other timezones , but they didn't work as well.
I am guessing the problem might be due to some missing rpm.Does anyone has any idea or faced a similar... (1 Reply)
Hi,
I am doing an audit and thought I knew what I was doing, but reading through the posts I came into doubt.
On Sun Solaris, I want to know when users last changed their passwords. I have the etc/shadow files and there is a nice field showing this. Except that it is disturbing me somewhat that... (5 Replies)
Hi All,
So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says:
It should say:
What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies
7. Post Here to Contact Site Administrators and Moderators
I cannot seem to post within any thread as I require moderator approval. I believe my permissions have been changed and was wondering whats the reason behind this.
Thanks. (3 Replies)
Hi All,
I have to work in the late nights some times for server maintenance and in a hurry to complete I am accidentally changing ownership or permission of directories :(
which have similar names ( /var in root and var of some other directory ).:confused:
Can some one suggest me with the... (1 Reply)
sethostname(2) System Calls Manual sethostname(2)NAME
sethostname() - set name of current host system
SYNOPSIS DESCRIPTION
The system call sets the name of the current system to name, which has a length of namelen characters. At system boot time is normally
executed by the command (see hostname(1)) in the script. Host names are limited to characters, as defined in
Security Restrictions
The actions associated with this system call require the privilege Processes owned by the superuser have this privilege. Processes owned
by other users may have this privilege, depending on system configuration.
See privileges(5) for more information about privileged access on systems that support fine-grained privileges.
RETURN VALUE
returns the following values:
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If fails, is set to one of the following values.
name points to an illegal address. The reliable detection of this error is implementation dependent.
The user does not have appropriate privileges.
WARNINGS
Setting a hostname of more than 64 bytes with is possible only with the appropriate configuration options enabled (see nodehostname-
size(5)). It is strongly recommended that all related documentation be completely understood before setting a larger hostname. A hostname
larger than 64 bytes can cause anomalous behavior or failure in applications which use the command or the system function to obtain the
name.
AUTHOR
was developed by the University of California, Berkeley.
SEE ALSO hostname(1), uname(1), gethostname(2), uname(2), nodehostnamesize(5), privileges(5).
sethostname(2)