Sponsored Content
Operating Systems AIX PROBLEM: RSYNC and no user password "secrets" Post 302351888 by zxmaus on Thursday 10th of September 2009 01:20:21 AM
Old 09-10-2009
Hi,

I don't know anything about rsync but as far as I know AIX, if you want to authenticate passwordless / with public key authentication than rather make the public key authentication working outside rsync (exchange the public keys between the boxes) and forget about the secrets file - as far as I understand the secrets file is only used to give a password for the authentication session - what would mean a clear-text-password, not a pointer to a public key.
Your mkstemp part is very likely failing because your ulimits are not set to unlimited on the destination host for the connecting user
Hope that helps,
kind regards
zxmaus
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

user password keeps "unsuccessful attempts"

i had a user who informed that when he tried to login he got this " too many unsuccessful attepmpts" this has happened regularly and he did not forget his password. i suspect that somebody tried to change. so i did some checks. i did a last, and found that nobody uses this sipo other than... (8 Replies)
Discussion started by: yls177
8 Replies

2. Shell Programming and Scripting

communicating wth another user aside from "wall" and "write"

Hi, Can anyone suggest a Unix command or c-shell algorithm to simulate to behavior of "wall" command minus the "all users"? What I'm trying to do is to send a notice to just one particular user but i dont want other remotely-logged-on users to receive the message (on the pseudo-terminals). I... (6 Replies)
Discussion started by: Deanne
6 Replies

3. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

4. UNIX and Linux Applications

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or question of my own) is: Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
Discussion started by: talipk
0 Replies

5. UNIX for Advanced & Expert Users

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses... Here is the configuration of my system: * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or... (1 Reply)
Discussion started by: talipk
1 Replies

6. UNIX for Dummies Questions & Answers

changing password with sudo user " permission denied"

HI All, I am using solaris i created a user adam and updated his permissions in vi sudoers file as follows adam ALL=(ALL) NOPASSWORD: ALL ........... when i create user by logging as sudo user . $ sudo useradd -d /home/kalyan -m -s /bin/sh kalyan sudo: not found ... (6 Replies)
Discussion started by: kalyankalyan
6 Replies

7. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

8. UNIX for Dummies Questions & Answers

What is the significance of sh -s in ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh?

Please can you help me understand the significance of providing arguments under sh -s in > ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Discussion started by: Sree10
4 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
IPSEC.SECRETS(5)                                                    strongSwan                                                    IPSEC.SECRETS(5)

NAME
ipsec.secrets - secrets for IKE/IPsec authentication DESCRIPTION
The file ipsec.secrets holds a table of secrets. These secrets are used by the strongSwan Internet Key Exchange (IKE) daemons pluto (IKEv1) and charon (IKEv2) to authenticate other hosts. It is vital that these secrets be protected. The file should be owned by the super-user, and its permissions should be set to block all access by others. The file is a sequence of entries and include directives. Here is an example. # /etc/ipsec.secrets - strongSwan IPsec secrets file 192.168.0.1 %any : PSK "v+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL" : RSA moonKey.pem alice@strongswan.org : EAP "x3.dEhgN" carol : XAUTH "4iChxLT3" dave : XAUTH "ryftzG4A" # get secrets from other files include ipsec.*.secrets Each entry in the file is a list of optional ID selectors, followed by a secret. The two parts are separated by a colon (:) that is sur- rounded by whitespace. If no ID selectors are specified the line must start with a colon. A selector is an IP address, a Fully Qualified Domain Name, user@FQDN, %any or %any6 (other kinds may come). An IP address may be written in the familiar dotted quad form or as a domain name to be looked up when the file is loaded. In many cases it is a bad idea to use domain names because the name server may not be running or may be insecure. To denote a Fully Qualified Domain Name (as opposed to an IP address denoted by its domain name), precede the name with an at sign (@). Matching IDs with selectors is fairly straightforward: they have to be equal. In the case of a ``Road Warrior'' connection, if an equal match is not found for the Peer's ID, and it is in the form of an IP address, a selector of %any will match the peer's IP address if IPV4 and %any6 will match a the peer's IP address if IPV6. Currently, the obsolete notation 0.0.0.0 may be used in place of %any. In IKEv1 an additional complexity arises in the case of authentication by preshared secret: the responder will need to look up the secret before the Peer's ID payload has been decoded, so the ID used will be the IP address. To authenticate a connection between two hosts, the entry that most specifically matches the host and peer IDs is used. An entry with no selectors will match any host and peer. More specifically, an entry with one selector will match a host and peer if the selector matches the host's ID (the peer isn't considered). Still more specifically, an entry with multiple selectors will match a host and peer if the host ID and peer ID each match one of the selectors. If the key is for an asymmetric authentication technique (i.e. a public key system such as RSA), an entry with multiple selectors will match a host and peer even if only the host ID matches a selector (it is presumed that the selectors are all identities of the host). It is acceptable for two entries to be the best match as long as they agree about the secret or private key. Authentication by preshared secret requires that both systems find the identical secret (the secret is not actually transmitted by the IKE protocol). If both the host and peer appear in the selector list, the same entry will be suitable for both systems so verbatim copying between systems can be used. This naturally extends to larger groups sharing the same secret. Thus multiple-selector entries are best for PSK authentication. Authentication by public key systems such as RSA requires that each host have its own private key. A host could reasonably use a different private keys for different interfaces and for different peers. But it would not be normal to share entries between systems. Thus thus no- selector and one-selector forms of entry often make sense for public key authentication. The key part of an entry must start with a token indicating the kind of key. The following types of secrets are currently supported: PSK defines a pre-shared key RSA defines an RSA private key ECDSA defines an ECDSA private key EAP defines EAP credentials XAUTH defines XAUTH credentials PIN defines a smartcard PIN Details on each type of secret are given below. Whitespace at the end of a line is ignored. At the start of a line or after whitespace, # and the following text up to the end of the line is treated as a comment. An include directive causes the contents of the named file to be processed before continuing with the current file. The filename is sub- ject to ``globbing'' as in sh(1), so every file with a matching name is processed. Includes may be nested to a modest depth (10, cur- rently). If the filename doesn't start with a /, the directory containing the current file is prepended to the name. The include direc- tive is a line that starts with the word include, followed by whitespace, followed by the filename (which must not contain whitespace). TYPES OF SECRETS [ <selectors> ] : PSK <secret> A preshared secret is most conveniently represented as a sequence of characters, delimited by double-quote characters ("). The sequence cannot contain a newline or double-quote. Strictly speaking, the secret is actually the sequence of bytes that is used in the file to represent the sequence of characters (excluding the delimiters). [ <selectors> ] : RSA <private key file> [ <passphrase> | %prompt ] [ <selectors> ] : ECDSA <private key file> [ <passphrase> | %prompt ] For the private key file both absolute paths or paths relative to /etc/ipsec.d/private are accepted. If the private key file is encrypted, the passphrase must be defined. Instead of a passphrase %prompt can be used which then causes the daemons to ask the user for the password whenever it is required to decrypt the key. <user id> : EAP <secret> As with PSK secrets the secret is a sequence of characters, delimited by double-quote characters ("). EAP secrets are IKEv2 only. [ <servername> ] <username> : XAUTH <password> XAUTH secrets are IKEv1 only. : PIN <smartcard selector> <pin code> | %prompt IKEv1 uses the format %smartcard[<slot nr>[:<key id>]] to specify the smartcard selector (e.g. %smartcard1:50). The IKEv2 daemon supports multiple modules with the format %smartcard[<slot nr>[@<module>]]:<keyid> , but always requires a keyid to uniquely select the correct key. Instead of specifying the pin code statically, %prompt can be specified, which causes the daemons to ask the user for the pin code. FILES
/etc/ipsec.secrets SEE ALSO
ipsec.conf(5), strongswan.conf(5), ipsec(8) HISTORY
Originally written for the FreeS/WAN project by D. Hugh Redelmeier. Updated and extended for the strongSwan project <http://www.strongswan.org> by Tobias Brunner and Andreas Steffen. BUGS
If an ID is 0.0.0.0, it will match %any; if it is 0::0, it will match %any6. 4.5.2 2010-05-30 IPSEC.SECRETS(5)
All times are GMT -4. The time now is 10:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy