12-09-2004
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what is the command to connect to remote terminals? (1 Reply)
Discussion started by: sendtorohitgupt
1 Replies
2. HP-UX
how can I find defalut connection browser and default mail tool
if i installed three browser ,and two mail tools
how can I find my default connection browser and default mail tool (1 Reply)
Discussion started by: alert0919
1 Replies
3. Shell Programming and Scripting
Hi ,
I need to connect to a remote MQ Manager using shell script. Please help.
thanks in advance
Satya (0 Replies)
Discussion started by: Satyak
0 Replies
4. OS X (Apple)
I have a headless remote Mini in which I was hoping to reduce bandwidth consumption by following an Apple knowledge base note (Mac OS X v10.6: Disabling mDNSResponder will disable DNS) which is a method to stop Bonjour service advertisement.
Now I can't connect to the Mini via SSH, screen... (4 Replies)
Discussion started by: mbohn
4 Replies
5. AIX
We have a production server at a client site running AIX. And recently when users are trying to connect to it via telnet, it prompts "No more multiple IP addresses to connect".
Can I know what does this error mean? and how to rectify this?
Thanks. (2 Replies)
Discussion started by: a_sim
2 Replies
6. IP Networking
Hello,
I work on remote machine using the ssh protocol.
I try to test a tool which is a process running on the port 5000.
tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 4386/python
Tu visualise this process, i have to launch on http://0.0.0.0:5000/... (3 Replies)
Discussion started by: chercheur111
3 Replies
7. How to Post in the The UNIX and Linux Forums
I have made password less connection to my remote account. and i tried to execute commands at a time. but i am unable to execute the commands.
ssh $ACCOUNT_DETAILS@$HOST_DETAILS
cd ~/JEE/*/logs/ (1 Reply)
Discussion started by: kishored005
1 Replies
8. Shell Programming and Scripting
Hello Every one!!
I am trying to write a shell script which will connect to a remote server and execute scripts which are at a certain path in the remote server.
Before this I am using a sudo command to change the user.
The place where I am stuck is, I am able to connect to the... (6 Replies)
Discussion started by: masubram
6 Replies
9. Shell Programming and Scripting
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
LEARN ABOUT CENTOS
sidput
avc_context_to_sid(3) SELinux API documentation avc_context_to_sid(3)
NAME
avc_context_to_sid, avc_sid_to_context, avc_get_initial_sid - obtain and manipulate SELinux security ID's
SYNOPSIS
#include <selinux/selinux.h>
#include <selinux/avc.h>
int avc_context_to_sid(security_context_t ctx, security_id_t *sid);
int avc_sid_to_context(security_id_t sid, security_context_t *ctx);
int avc_get_initial_sid(const char *name, security_id_t *sid);
DESCRIPTION
Security ID's (SID's) are opaque representations of security contexts, managed by the userspace AVC.
avc_context_to_sid() returns a SID for the given context in the memory referenced by sid.
avc_sid_to_context() returns a copy of the context represented by sid in the memory referenced by ctx. The user must free the copy with
freecon(3).
avc_get_initial_sid() returns a SID for the kernel initial security identifier specified by name.
RETURN VALUE
avc_context_to_sid() and avc_sid_to_context() return zero on success. On error, -1 is returned and errno is set appropriately.
ERRORS
ENOMEM An attempt to allocate memory failed.
NOTES
As of libselinux version 2.0.86, SID's are no longer reference counted. A SID will be valid from the time it is first obtained until the
next call to avc_destroy(3). The sidget(3) and sidput(3) functions, formerly used to adjust the reference count, are no-ops and are depre-
cated.
AUTHOR
Eamon Walsh <ewalsh@tycho.nsa.gov>
SEE ALSO
avc_init(3), avc_has_perm(3), avc_cache_stats(3), avc_add_callback(3), getcon(3), freecon(3), selinux(8)
27 May 2004 avc_context_to_sid(3)