Search Results

Search: Posts Made By: veskonedev
2,279
Posted By veskonedev
not quite there
here is my "remote change passwd" script:
----------
#!/usr/bin/expect -f
#
set force_conservative 0
#
set timeout 1
spawn ssh root@srv
match_max 100000
expect "Last login: *\r\r...
2,279
Posted By veskonedev
at last :)
Again RTFM did the trick :)
The following tool just watches your input in the console & generates the script for you. Enjoy it!
http://expect.nist.gov/example/autoexpect.man.html...
2,279
Posted By veskonedev
more details: i have shell (bash) access to...
more details:
i have shell (bash) access to that RedHat linux and have the root password.

What i need is a simple script to take user+pass & do
/usr/sbin/chpasswd $1:$2...
2,279
Posted By veskonedev
update
http://sarg.sourceforge.net/chetcpasswd.php
This might be what i need, but still will appreciate other sugestions
regards
2,279
Posted By veskonedev
shange user's pass for all services on a remote host
here is the picture:
a website on server1 & a "username" logged in that site.
The same username has a shell(nologin)/ftp/samba/mail(qmail) acount on server2.
i have s form on server1 that can pass...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 08:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy