03-16-2009
What have you tried ...
Just share your codes please
Thanks
Sha
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Is there any way to automate the reset of passwords.I mean can we write some scripts and do it. Would be great if anybody can help in this regards. (9 Replies)
Discussion started by: yakyaj
9 Replies
2. Shell Programming and Scripting
Hi all,
I want to know how to send an email using shell script .....
I tried a command call mail but it did not work..
Please any one reply.. With example if you know thanks..
Madhu (4 Replies)
Discussion started by: madhumathikv
4 Replies
3. Shell Programming and Scripting
Is there anyway that I can reset user's password using a script/ssh command?
ie. emulate passwd command with a default password of abc123 or even null value?
> ssh server1 pwdadm user1 < /dev/null
or
> ssh server1 passwd user1 < /dev/null
neither worked for me.. but you know what I... (1 Reply)
Discussion started by: pdtak
1 Replies
4. Solaris
All,
I have a Solaris 9 system and I would like to create a script that would reset the password of a local user to something specific on a daily basis.
Someone suggested the following:
passwd --stdin username < passwd_file
However, this doesn't work on Solaris.
Does anyone know of... (3 Replies)
Discussion started by: soliberus
3 Replies
5. Shell Programming and Scripting
Hi folks,
How can we reset the password via shell script...
How can i manage to pass password for the prompt.
gws000i010:/ # passwd test1
New Password: (1 Reply)
Discussion started by: bullz26
1 Replies
6. Shell Programming and Scripting
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies
7. Shell Programming and Scripting
Hi all,
I am using an command which reset the password for the user, its working fine on Solaris boxes but sometimes the samw was not happening on some of linux boxes.
/bin/echo username | passwd --stdin username
I am new to unix and shell scripting,so it would be very helpful for me... (1 Reply)
Discussion started by: sudharson
1 Replies
8. Shell Programming and Scripting
Hi,
I could like to change my remote system user password. Could you please guile me,
If you have any existing scripting there. please let me know
Thanks & Regards,
Mani (8 Replies)
Discussion started by: Mani_apr08
8 Replies
9. Shell Programming and Scripting
Newbie in scripting
Please assist with a script to send an email to all users seven days before their passwords expires.Aging set for 90 days.
# chage -l user1
Last password change : Jul 08, 2015
Password expires :... (4 Replies)
Discussion started by: tshepang
4 Replies
10. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
LEARN ABOUT MOJAVE
libcurl-share
libcurl-share(3) libcurl share interface libcurl-share(3)
NAME
libcurl-share - how to use the share interface
DESCRIPTION
This is an overview on how to use the libcurl share interface in your C programs. There are specific man pages for each function mentioned
in here.
All functions in the share interface are prefixed with curl_share.
OBJECTIVES
The share interface was added to enable sharing of data between curl "handles".
ONE SET OF DATA - MANY TRANSFERS
You can have multiple easy handles share data between them. Have them update and use the same cookie database, DNS cache, TLS session
cache! This way, each single transfer will take advantage from data updates made by the other transfer(s). The sharing interface, however,
does not share active or persistent connections between different easy handles.
SHARE OBJECT
You create a shared object with curl_share_init(3). It returns a handle for a newly created one.
You tell the shared object what data you want it to share by using curl_share_setopt(3).
Since you can use this share from multiple threads, and libcurl has no internal thread synchronization, you must provide mutex callbacks if
you're using this multi-threaded. You set lock and unlock functions with curl_share_setopt(3) too.
Then, you make an easy handle to use this share, you set the CURLOPT_SHARE(3) option with curl_easy_setopt(3), and pass in share handle.
You can make any number of easy handles share the same share handle.
To make an easy handle stop using that particular share, you set CURLOPT_SHARE(3) to NULL for that easy handle. To make a handle stop shar-
ing a particular data, you can CURLSHOPT_UNSHARE it.
When you're done using the share, make sure that no easy handle is still using it, and call curl_share_cleanup(3) on the handle.
SEE ALSO
curl_share_init(3), curl_share_setopt(3), curl_share_cleanup(3) libcurl-errors(3), libcurl-easy(3), libcurl-multi(3)
libcurl 7.54.0 February 03, 2016 libcurl-share(3)