10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
I am on HP-UX.
Problem is that my remote script behaves different depending on execution method.
Method1 (Remote execution):
remsh remoteserver /home/myscript.sh
Method2 (Local execution):
remoteserver :/home#sh myscript.sh
In method 2, I can succesfully set timestamp with... (6 Replies)
Discussion started by: mrcrowley
6 Replies
2. Shell Programming and Scripting
hi all ,
i am using remsh utility from a host to another , i did create an .rhosts in it the name of the second server and the user to use in it , then i changed permission to 600 .. it is still asking for password and i am using this for no password between 2 trusted servers we got also this... (3 Replies)
Discussion started by: semaan
3 Replies
3. Shell Programming and Scripting
Hi,
In a file, I have to mark duplicate records as 'D' and the latest record alone as 'C'.
In the below file, I have to identify if duplicate records are there or not based on Man_ID, Man_DT, Ship_ID and I have to mark the record with latest Ship_DT as "C" and other as "D" (I have to create... (7 Replies)
Discussion started by: machomaddy
7 Replies
4. Shell Programming and Scripting
Hi All,
Im using remsh to execute shell script on remote server. And this script gets called from another AIX server.
My code is:
remsh $rHost -l $rUser -n "export JAVA_HOME=/usr/java6_64_SR7; export ORACLE_HOME=/oravl01/oracle/11.1.0.7;
export... (3 Replies)
Discussion started by: AB10
3 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I want to know all the options that are used for command remsh.
And also the prerequisites like entries in .rhosts file.
Can anybody share the link or document?
thanks. (1 Reply)
Discussion started by: AB10
1 Replies
6. HP-UX
Hi,
I can remsh from a HPUX to a UNIX however my function keys dont then work as they should !
Any suggestions ? - have tried creating .kshrc
Thanks (2 Replies)
Discussion started by: belfastbelle
2 Replies
7. HP-UX
Hi,
I am trying to remsh from a HPUX to another unix server
What is happening is I cant run commands on the other server
ie
I can
remsh <remoteserver> -l <remotelogin>
but I cant
remsh <remoteserver> -l <remotelogin> -n pwd
getting error message
rshd: 0826-826 The host name for... (3 Replies)
Discussion started by: belfastbelle
3 Replies
8. UNIX for Advanced & Expert Users
Hi All,
We have 2 unix boxes HP UX. From Box1 we need to run a script on Box2 using remsh. The job at Box2 exits with status 0 on successful completion & 1 if fails.
But even if the scrips fails (exits with return status 1) at Box2, the $? get the value 0.
script at Box2 : remote_script.sh... (2 Replies)
Discussion started by: sabyasm
2 Replies
9. UNIX for Dummies Questions & Answers
i m try to do remsh i need to know what are the step to define the user and password i try .rhosts it give me
operator:/export/home/operator>remsh billmed ps -ef
permission denied
just for testing (3 Replies)
Discussion started by: kazanoova2
3 Replies
10. UNIX for Dummies Questions & Answers
I'm trying to nohup a job that executes a remote shell on another host but it breaks as soon as I launch it, and I get the following back to my terminal.
+ Stopped (tty input) nohup remsh target_host -l user "ls /proj"
This is the command I'm running.
nohup remsh target_host -l user "ls... (2 Replies)
Discussion started by: tavaresd
2 Replies
aclsort(3C) aclsort(3C)
NAME
aclsort() - sort an Access Control List (JFS File Systems only)
SYNOPSIS
DESCRIPTION
The routine sorts JFS Access Control List (ACL) entries into the correct order to be accepted by the acl(2) system call.
points to a buffer containing ACL entries; if non-zero, indicates that the permissions should be recalculated; and specifies the number of
ACL entries in the buffer.
sorts the contents of the ACL buffer as follows:
Entries will be in order and
Entries of type and will be sorted in increasing order by numeric ID.
The call will succeed if all of the following are true:
There is exactly one entry each of type and
There is at most one entry each of type and
Entries of type or may not contain duplicate entries. A duplicate entry is one of the same type containing the same numeric id,
irrespective of permission bits.
If the argument is zero and there are no entries of type and no entries of type the permissions of the and entries must be the same.
If there are no entries of type and no entries of type and the entry is specified, then the entry must also be specified, and the
permissions of the and entries must be the same.
RETURN VALUE
Upon successful completion, the return value is 0. If there are duplicate entries, the return value is the position of the first duplicate
entry. If there is more than one entry of type or they are treated as duplicate entries, and the return value is the position of the first
duplicate entry. For all other errors, the return value is -1.
NOTICES
The buffer is sorted by type and ID before checking for any failures. Therefore the buffer is always sorted, even if there is a failure.
The position of a duplicate entry returned on failure is not the byte offset of the duplicate entry from its base; rather it refers to the
entry number of the duplicate entry within the sorted buffer.
Checks will be performed in order of entry type. If there are multiple failures, the failure returned will be the first encountered, for
example, if the ACL buffer contains a duplicate entry and does not contain an entry, the return value will be the first duplicate entry.
ACLs do not have to be sorted with prior to passing them to acl(2).
DEPENDENCIES
is supported only on JFS file systems on the standard HP-UX operating system.
AUTHOR
was developed by AT&T.
SEE ALSO
acl(2), aclv(5).
aclsort(3C)