06-10-2009
execute in exec_attr in Solaris 10 w/ Trusted Extensions
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 put another way:
How do I get the system to execute a script with the borne shell ( sh )
when I am in the profile shell ( pfksh ).
thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I did a search and found lots of questions/comments about how a dos script could execute Unix but not the other way round. If it's possible, I'd like the link to a post/site that would show me the way.
Thanks. (4 Replies)
Discussion started by: BCarlson
4 Replies
2. Solaris
How to execute a binary file in solaris?
I used ./setup.bin . I got the error ./setup.bin not found. (4 Replies)
Discussion started by: agarwal
4 Replies
3. Solaris
Unable to execute commands using rsh in Solaris 9 and 10.
When I execute this command " rsh -n 172.16.67.91 ls -l " I am getting this error message.
::ffff:172.16.67.91: Connection refused
Please guide me how to enable rsh.
Thanks & Regards
Durgaprasad (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
4. Solaris
I have to execute 2 commands everytime i reboot my Solaris machine.
Simple "share" and "chown" commands.
Is there anywhere (maybe a config file or something) where I can include these commands so that I do not have to manually run them everytime I reboot the machine?
Any help appreciated... (2 Replies)
Discussion started by: lydiaEd
2 Replies
5. Solaris
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)
Discussion started by: djehresmann
2 Replies
6. Solaris
How to check if a system has Solaris trusted extensions installed or not on a solaris 10 system ? (5 Replies)
Discussion started by: fugitive
5 Replies
7. Solaris
Hi friends,
I would like to grant a management capability for a specific application to my user test. Application is installed under /opt/myApp and has startup and management scripts under directories bin and sbin. This application is installed by root and can be managed by root. For security... (0 Replies)
Discussion started by: niyazi
0 Replies
8. Windows & DOS: Issues & Discussions
Hi all,
I'm not sure if it is correct to post here.
I am facing problem wanting to create a batch that run from my Windows XP pc to remote to multiple Solaris server to execute the server's ksh script. :wall:
Can anyone give me a hints on how to do that? Thanks. (6 Replies)
Discussion started by: beginningDBA
6 Replies
9. UNIX for Dummies Questions & Answers
dear all
i need your advice in shell with solaris
i have testing script like this
#!/usr/bin/bash
function test(){
echo "testing only"
}
## execute function ##
test
but if i running always got error like this
test.sh: syntax error at line 1: `(' unexpected
who can i running this... (7 Replies)
Discussion started by: zvtral
7 Replies
10. Solaris
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
SUNFIRE V240
if there is a power failure, automatically:
write all operations in a log file (0 Replies)
Discussion started by: doudou2012
0 Replies
LEARN ABOUT OPENSOLARIS
tsol_getrhtype
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)