Hi all,
passwd <username> < /var/adm/passwd.txt
cat /var/adm/passwd.txt
abcd1234
abcd1234
when I run this from the script, it comes with:
New password:
It is not able to pick from the location /var/adm/passwd.txt.
thanks in advance. (6 Replies)
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Hello,
I need assistance with creating a shell script to generate SSL Certificate Requests on remote hosts. Below is my stab at this, but I cannot figure out how to pass the requested arguments into the openssl command correctly. I have a major problem with redirecting the "answers" into the... (2 Replies)
Hello,
I wish to store the password in an rsync script so that when prompted it just enters the password.
I know I can set up passwordless logins, but I have never been able to do this on this particular server so I am resorting to storing the password in the script:
rsync -avz -e ssh... (4 Replies)
Hello,
Can you help me to write a shell script for rsync a folder from my server to remote server ?
i do this in ssh by this command :
rsync -avz -e ssh /copy/me/ login@serverip:/where/to
i want have a shell script that do this command.
and you know that this command ask remote... (0 Replies)
Hi All,
I am using Ubuntu machine with JDK 6. I am running following command on shell-
sudo ./somecript
. Now, it prompts for sudo password and I provide the sudo password on shell and "somescript" starts running with sudo permissions.
What I want to do is, I need to execute... (1 Reply)
I'm new into unix.
My question: is possible to write a shell script which will ask for the
ORACLE_HOME, ORACLE_SID, USERNAME, PASSWORD to connect to Oracle db.
In generally we have to set the ORACLE_HOME in .profile file. And after putting the 'sqlplus' command it asks for the username &... (6 Replies)
Hello,
I have a requirement to shut down and start up my application on different environments (Dev, QA and Prod).
I have around 24 servers. I have to login to each server manually for shutinng down the application.
I wrote a shell command on each server and I am invoking those shell... (2 Replies)
Hi ,
I am trying to unzip some file in a dir using shell script ,but it prompts for password to unzip those files ,how would i provide the passoword in the script it self (1 Reply)
• With this script, users will be able to
o Enter into the recycle bin mode. During this mode, all files deleted will be sent to the recycle bin. The recycle bin will be common to all users.
o View contents of the recycle bin (his/her file(s) only).
o Retrieve a particular file from the recycle... (3 Replies)
Discussion started by: bhavana busetty
3 Replies
LEARN ABOUT DEBIAN
librsync
librsync(3) Library Functions Manual librsync(3)NAME
librsync - library for delta compression of streams
SYNOPSYS
#include <stdio.h>
#include <stdlib.h>
#include <librsync.h>
cc ... -lrsync
DESCRIPTION
The librsync library implements network delta-compression of streams and files. The algorithm is similar to that used in the rsync(1) and
xdelta(2) programs, but specialized for transfer of arbitrary-length octet streams. Unlike most diff programs, librsync does not require
access to both of the files on the same machine, but rather only a short ``signature'' of the old file and the complete contents of the new
file.
The canonical use of librsync is in the rproxy(8) reference implementation of the rsync proposed extension to HTTP. It may be useful to
other programs which wish to do delta-compression in HTTP, or within their own protocol. There are HTTP-specific utility functions within
librsync, but they need not be used.
A number of tools such as rdiff(1) provide command-line and scriptable access to rsync functions.
SEE ALSO rdiff(1)
rdiff and librsync Manual
http://rproxy.sourceforge.net/.
draft-pool-rsync
BUGS
The rsync protocol is still evolving. There may be bugs in the implementation. The interface may change in the future, but it is becoming
more stable.
Many routines will panic in case of error rather than returning an error code to the caller. Patches to fix this are welcome, but at the
current state of development aborting seems as useful as trusting to possibly-incomplete checking in the client.
AUTHOR
Martin Pool <mbp@samba.org>, with Andrew Tridgell <tridge@samba.org>.
rdiff development has been supported by Linuxcare, Inc and VA Linux Systems.
Martin Pool $Date: 2003/06/12 06:03:32 $ librsync(3)