tsol_getrhtype(3TSOL) Trusted Extensions Library Functions tsol_getrhtype(3TSOL)NAME
tsol_getrhtype - get trusted network host type
SYNOPSIS
cc [flag...] file... -ltsnet [library...]
#include <libtsnet.h>
tsol_host_type_t tsol_getrhtype(char *hostname);
DESCRIPTION
The tsol_getrhtype() function queries the kernel-level network information to determine the host type that is associated with the specified
hostname. The hostname can be a regular hostname, an IP address, or a network wildcard address.
RETURN VALUES
The returned value will be one of the enumerated types that is defined in the tsol_host_type_t typedef. Currently these types are UNLABELED
and SUN_CIPSO.
FILES
/etc/security/tsol/tnrhdb Trusted network remote-host database
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------+-----------------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------+-----------------------------------+
|Interface Stability | Committed |
+-----------------------+-----------------------------------+
|MT-Level | MT-Safe |
+-----------------------+-----------------------------------+
SEE ALSO libtsnet(3LIB), attributes(5)
Obtaining the Remote Host Type in Solaris Trusted Extensions Developer's Guide
NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.
SunOS 5.11 20 Jul 2007 tsol_getrhtype(3TSOL)
Check Out this Related Man Page
libtsnet(3LIB) Interface Libraries libtsnet(3LIB)NAME
libtsnet - Solaris Trusted Extensions network library
SYNOPSIS
cc [ flag... ] file... [ library... ]
#include <libtsnet.h>
#include <sys/tsol/tndb.h>
DESCRIPTION
Functions in this library provide programmatic access to Solaris Trusted Extensions features such as labels and Mandatory Access Policy
(MAC). These functions are available on systems that are configured with Trusted Extensions software.
INTERFACES
The shared object libtsnet.so.1 provides the public interfaces that are defined below. See Intro(3) for additional information on shared
object interfaces.
tsol_getrhtype
FILES
/lib/libtsnet.so.1 shared object
/lib/64/libtsnet.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl |
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO Intro(3), libtsol(3LIB), attributes(5)SunOS 5.11 7 Mar 2006 libtsnet(3LIB)
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)
I recently brought up a second network interface adapter in my Solaris 8 box. I configured the /etc/hostname.interface (hostname.ce1 in this case) with the hostname of the new adapter. I then added that hostname to the /etc/hosts file. Problem is when I reboot the ce1 interface is plumbed, but... (1 Reply)
About a year ago, a friend of mine who worked on the OReilly Snort book took a propsal he and I had worked on for a book on Trusted Computing. Though the editor thought the content was good and worthwhile, he felt that there wasn't enough of a market to justify printing such a work.
How many... (0 Replies)
I was playing with sam and i turned on the Trusted System feature (UX11i).
Now i cant log onto it anymore, i can ping it, but icant telnet, rlogin or login at the login screen.
I dont want to reboot my machine because i am affraid it wont boot and ask for a password. My root password is not... (1 Reply)
How do I get this line to execute in exec_attr in Solaris 10 with Trusted Extensions?
It needs to run as 'sh cpu_root.sh'
With the 'sh' it won't execute.
Oracle_Install:solaris:cmd:::/cots/oracle/patches/CPUJan2009/9999999/sh cpu_root.sh:uid=0;gid=0
-----Post Update-----
Or... (1 Reply)
How do I tell if a port is Multilevel aware and can be used?
I have used netstat in the past , but can't tell if it is useful.
This is on Solaris 10 with Trusted Extensions.
thanks.
---------- Post updated at 01:04 PM ---------- Previous update was at 11:05 AM ----------
Ok,
... (0 Replies)
Is there a Solaris 10 BUG (with Trusted Extensions) with binding to a project? This is Solaris 10 32bit Intel and Oracle EE 10gRel2.
I am being told that a project (/etc/project) will not bind to the user because of a Solaris bug. According to my admin people Solaris told my company this when... (2 Replies)
Hello,
I've got a puzzler here but it might be quick solution for some of you.
I'm trying to add a second IP address to a network adapter on a Solaris 10 box. I've created a hostname.bge0:1 file and put in the new name, e.g. new.mycom.com. I've added the new IP and the name to hosts. I've... (12 Replies)