11-12-2014
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hi,
Does anyone have a script (for AIX) that sends a message to a user that his password will be expired within 5 days for ex.
Thanks (1 Reply)
Discussion started by: Diederd
1 Replies
2. Windows & DOS: Issues & Discussions
Hi.
My workstation is Windows. I use putty to connect to unix servers. The problem is that i'm doing it many times a day and each time i need to supply password. I have no control on ssh configuration on servers, because of account restrictions. So i can't use key authentication, how is suggested... (4 Replies)
Discussion started by: kukuruku
4 Replies
3. Shell Programming and Scripting
Is there any way to send password in a sh script, to establish a ssh connection with the remote server, without having shared the public key?
The command I'm currently using is in my script is
!#/bin/sh
...
ssh -l user remotehost "ls -l"
I have shared the public key of the local... (3 Replies)
Discussion started by: farahzaiba
3 Replies
4. Solaris
Hi Gurus
I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails.
Resetting my password reenables the keys.
Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies
5. Solaris
Pam Module sending a cannot get password enry after certain period in /var/adm/message.
pam_login_limit(auth): Cannot get Password entry for user 'dbsnmp'
What is dbsnmp? Also if account is locked does pam module checks for this locked account at regular interval and keeps on posting... (2 Replies)
Discussion started by: student2009
2 Replies
6. Shell Programming and Scripting
All,
I am trying to use expect to send SFTP password because I am unable to share a key with the vendor.
They gave me a password that uses some symbols in it like $ and !
When i try to use the send command in expect it thinks the $ is a variable.
Is there anyway to have it send the... (2 Replies)
Discussion started by: markdjones82
2 Replies
7. Homework & Coursework Questions
1. we are a group a students and we need a help for sending encrypted messages with unix (ssh or scp)
2. we tried to use ssh and scp protocol but we didn't manage to send the message because we don't know the correct syntax of the command and we are asked a password and we don't know which is... (1 Reply)
Discussion started by: supervavul
1 Replies
8. Shell Programming and Scripting
I am running a useradd script, which works locally but I want to take some of that local information and send it to a remote system, ssh keys are set up between the two systems. I am attaching the script, look at the section titled
"Sending information to FTP2"
Removed attachment, added... (0 Replies)
Discussion started by: slufoot80
0 Replies
9. Red Hat
Hello Experts,
when I am trying to connect my target server through sftp after creating ssh password less setup, it is asking for passowrd to connect.
to setup this I followed below process:
-->generated keys by executing the command "ssh-keygen -t rsa"
-->this created my .ssh directory... (9 Replies)
Discussion started by: Devipriya Ch
9 Replies
10. Shell Programming and Scripting
I am building FTP Script on my Bluehost VPS Server. I have several and all work great except this one.... I think there are two issues .. One with the command and One with "$" in the password.
#!/bin/sh
HOST=invtransfer@52.44.151.220
USER=invtransfer
PASSWORD=XXX$XXX - $ is real in... (3 Replies)
Discussion started by: Wrjames2
3 Replies
LEARN ABOUT HPUX
posix_fadvise
posix_fadvise(2) System Calls Manual posix_fadvise(2)
NAME
posix_fadvise(), posix_fadvise64() - file advisory information
SYNOPSIS
Parameters
fd The open file descriptor to which the fadvise operation applies.
offset The begining of the specified range as a positive, byte offset.
len The length of the specified range in bytes.
advice Specifies advice to be applied to range.
DESCRIPTION
The function is used to advise the system about the expected behavior of the application with respect to the data in the file associated
with the open file descriptor, fd, starting at offset and continuing for len bytes. The specified range need not currently exist in the
file. If len is zero, all data following offset is specified.
It should be noted that the effect of all hints is cumulative for a given file object. All hints will be removed on processing the last
close of the file object.
The function may be used for large file access by a 32-bit application built with set to 64.
The advice parameter is used to convey the hint to be applied to the data and may be one of the following values:
Specifies that the application has no advice to give on its behavior with respect to the specified data. It is the default characteristic
if no advice is given for an open file.
Specifies that the application expects to access the specified range of data
sequentially from the lower offsets to higher offsets.
Specifies that the application will expect to access the specified
specified range of data in a random order.
Specifies that the application will expect to access the specified
range of data in the near future.
Specifies that the application will expect that it will not
access the specified range of data in the near future.
Specifies that the application will expect to access the specified range
of data once and then not reuse it thereafter.
These values will be defined in
RETURN VALUE
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If the service fails, is set to one of the following values:
The fd argument is not a valid file descriptor.
The fd argument is associated with a pipe or FIFO.
The posix_fadvise operation is not supported by the underlying file system.
The value of advice or one of the other input values has been found to be invalid.
A designated hint is not supported by the underlying file object.
EXAMPLES
AUTHOR
was derived by HP from the IEEE POSIX 1003.1-2001 Standard.
SEE ALSO
fadvise(2), fcntl(2), fadvise(5), fcntl(5).
STANDARDS CONFORMANCE
posix_fadvise(2)