Hell0,
Does anyone has a script for removing volumes from veritas on sun solaris ?? I am looking for a script which will remove the number of volumes from the veritas.
I am getting segmentation fault while restting the root password.
# passwd root
New Password:
Re-enter new Password:
Segmentation Fault
Here is the oupput of uname -a
SunOS 5.8 Generic_117350-49 sun4u sparc SUNW,Ultra-4
can somebody please help me ?
Can somebody please help me ?
I am trying to mount remote file system on a solris 8 box.
I am getting following error from the remote hosts ( solris 8 ) where i am trying to mount the file system.
#showmount -e 10.92.156.41
showmount: 10.92.156.41: RPC: Rpcbind failure - RPC: Timed out
Thats true. thats the difference between solaris 8 & 10.
even manually it gives me permission denied.
Password:
Permission denied
when it ask for password, i give password of remote hosts root password and when it gest in to the box it throws "permissioned denied"
Thats true. i supplied the password and it gives me the permission denied.
LOCALLY ON THE "ub1nas3p" - soalris 8 box, if try to manually reset the password, it ask 3 times.
ub1nas3p:/# passwd hp
Password:
New Password:
Re-enter new Password:
passwd: password successfully changed for hp
I am getting follwoing error..
root@lb1oralog2p hp]# /usr/bin/ssh root@ub1nas3p 'passwd hp'
Password:
Permission denied
This is am running from linux box where i dont have keys.
and same error while running from the linux server where ssh keys are configured so it can go without password...
I am able to authenticate to the solaris box manually by just running ssh root@ub1nas3p from the linux server. it ask me for the password and once i supply root password i am able to get in to the box.
I am not trying to change the password on the server where i am running this script. i am running this script from linux server in order to change the password on solairs. so that is the reasony why i put ssh function inside the script. i verifed /etc/default/login and this is as per already set...
now i have moved this sciprt to the server from where i can
login to the box where it does not ask for the password
and while running this script i am getting following error.
[root@jpylinux hp]# /usr/bin/ssh root@ub1nas3p 'passwd hp '
Permission denied
[root@jpylinux hp]#...
1. I am running this script from RHEL 4.0 ( LINUX ) to reset
the password in solaris 8.0. I have all the remote
servers are solaris 8.0.
2. while ssh root@ub1nas3p , it ask me for the password.
Thank you very much sir for your quick quick replies.
Appericate.
Thank you for the quick reply.
Basically i am trying to chagne the password of remote system "ub1nas3p" where user "hp" exsist. so that why i am trying to do ssh root@ub1nas3p .
I also exported the password for root on the command prompt.
# export PASS='xyz' --- root password.
Can someone help me out with expect script for mass password change...
Here is my script....
#!/usr/bin/expect --
spawn $env(SHELL)
expect -exact "\$ "
send -- "/usr/bin/ssh [lindex $argv 0] 'passwd hp '\r"
expect "Password:"
send "rep123"
expect "New Password:"
send "rep123"
expect "Re-enter...
following are the contents of was-start script which i am running it manually once server is fully up after reboot. but i wanted to auto start this " was-start " script using " wasadmin " user . Anyone can help me on this ??
was-start script
-------------------
#!/bin/sh
# add new server...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.