Sponsored Content
Full Discussion: Change hostname in Solaris 9
Operating Systems Solaris Change hostname in Solaris 9 Post 302120010 by shabu on Saturday 2nd of June 2007 01:53:49 PM
Old 06-02-2007
No change

thanx for yor reply guys.

i did the changes as per the documents. but still it's showing the hostname as unknown.
 

8 More Discussions You Might Find Interesting

1. IP Networking

How to change hostname and ip in solaris

Dear all, I am going to change the IP address and hostname in my solaris, but I don't know how to do it. If you have any idea or suggestion, please fell free to let me know. Thanks and Regards (2 Replies)
Discussion started by: PennyLi
2 Replies

2. UNIX for Dummies Questions & Answers

change hostname

Hi, ( running solaris 8 ) I know how to change the hostname temparily, by login in as root typing hostname = xxxxx but, this obviously goes when the system is rebooted. I'm not sure what files need changing to make this a permant change. Could anyone help me please? (9 Replies)
Discussion started by: fishman2001
9 Replies

3. UNIX for Advanced & Expert Users

Change of Hostname

Dear All. I will like to know beside the following command "hostname hostname" what other command that can change the hostname of the Unix. Thanks. (4 Replies)
Discussion started by: gelbvonn
4 Replies

4. HP-UX

Change IP and Hostname

Hello.. I wanted to know how to change IP and Hostname on HPUX system, and I don't want to make it as NIS master either. Could someone tell me the files I need to modify and make sure it's on network? Thanks! :o (3 Replies)
Discussion started by: catwomen
3 Replies

5. UNIX for Dummies Questions & Answers

change hostname

Hi, I asked this question whenI was running solaris 8 and got some very good answers. I've just uograded to Solaris 10 and there seems to quite a few changes so I need to know again. https://www.unix.com/showthread.php?t=8547 ------------ Hi (now solaris 10) I know how to change the... (2 Replies)
Discussion started by: fishman2001
2 Replies

6. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

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)
Discussion started by: XNOR
1 Replies

7. Red Hat

Change hostname

Hello, I would like to change the hostname on a Linux server (RHEL4). I try different methods in vain : - by using hostname command - by changing /etc/hosts and /etc/hostname But after restarting server, the old hostname re-appears... :confused: And the file ./proc/sys/kernel/hostname... (3 Replies)
Discussion started by: madmat
3 Replies

8. Solaris

change hostname end ip adresse in solaris 9

hi everybody which files i should change to modify my hostname and my adresse ip in solaris 9 . or how can i do that :confused: it's very important to me thnx (2 Replies)
Discussion started by: lid-j-one
2 Replies
AUDIT_LOG_USER_COMM_MESSAGE(3)					  Linux Audit API				    AUDIT_LOG_USER_COMM_MESSAGE(3)

NAME
audit_log_user_comm_message - log a user message from a console app SYNOPSIS
#include <libaudit.h> int audit_log_user_comm_message(int audit_fd, int type, const char *message, const char *comm, const char *hostname, const char *addr, const char *tty, int result) DESCRIPTION
This function will log a message to the audit system using a predefined message format. This function should be used by all console apps that do not manipulate accounts or groups and are executing a script. An example would be python or crond wanting to say what they are exe- cuting. The function parameters are as follows: audit_fd - The fd returned by audit_open type - type of message, ex: AUDIT_USYS_CONFIG, AUDIT_USER_LOGIN message - the message text being sent comm - the program command line name hostname - the hostname if known, NULL if unknown addr - The network address of the user, NULL if unknown tty - The tty of the user, if NULL will attempt to figure out result - 1 is "success" and 0 is "failed" RETURN VALUE
It returns the sequence number which is > 0 on success or <= 0 on error. ERRORS
This function returns -1 on failure. Examine errno for more info. SEE ALSO
audit_log_user_message(3), audit_log_acct_message(3), audit_log_user_avc_message(3), audit_log_semanage_message(3). AUTHOR
Steve Grubb Red Hat Oct 2006 AUDIT_LOG_USER_COMM_MESSAGE(3)
All times are GMT -4. The time now is 01:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy