Thanks mate...exactly what I was looking for.

Paul

---- Original message ----
>Date: Tue, 19 Jul 2005 15:01:14 -0400 (EDT)
>From: francisco <[EMAIL PROTECTED]>  
>Subject: Re: [Solaris-Users] Permission denied when running 
passwd remotely  
>To: Solaris-Users mailing list <[email protected]>
>
>>> From memory (I don't have a Solaris box in front of me 
at the moment), I
>> think it has to do with the fact that running a command 
instead of a
>> shell leaves SSH without a terminal device to connect to 
and grab the
>> input from. I got around this by not using the passwd 
command, but
>> instead I created a shell script which takes the password 
as input and
>> changes the shadow entry.
>
>You can also use the -t flag to ssh to force tty allocation 
and run the 
>command.  It's necessary for using passwd and some other 
programs, like 
>screen.
>
>-f
>http://www.blackant.net/
>_______________________________________________
>Solaris-Users mailing list
>[email protected]
>http://www.filibeto.org/mailman/listinfo/solaris-users
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to