Changing password of Unix System non interactively and without using expect

  • Follow


Hi,
I want to change password of Solaris 9 system non interactively and
that too without using any extra package. Could I do it using Shell
script or C program.
Thanks
0
Reply girishpal (8) 10/19/2004 9:54:32 AM

On 19 Oct 2004 02:54:32 -0700, Girish Pal Singh <girishpal@hotmail.com> wrote:
> Hi,
> I want to change password of Solaris 9 system non interactively and
> that too without using any extra package. Could I do it using Shell
> script or C program.

Yes.

0
Reply Dave 10/19/2004 2:42:33 PM


Hi,
Thanks for the reply. But how could I do it. If I use crypt what key
should I give it.
Dave Hinz <DaveHinz@spamcop.net> wrote in message news:<2tknepF20puspU10@uni-berlin.de>...
> On 19 Oct 2004 02:54:32 -0700, Girish Pal Singh <girishpal@hotmail.com> wrote:
> > Hi,
> > I want to change password of Solaris 9 system non interactively and
> > that too without using any extra package. Could I do it using Shell
> > script or C program.
> 
> Yes.
0
Reply girishpal 10/20/2004 4:31:55 AM

On 19 Oct 2004 21:31:55 -0700, Girish Pal Singh <girishpal@hotmail.com> wrote:
> Hi,
> Thanks for the reply. But how could I do it. If I use crypt what key
> should I give it.

Why not crypt it once, and then connect to each remote system, substituting
the old encrypted password to the new encrypted password?  ssh and sed are
your friends.

Dave Hinz

0
Reply Dave 10/20/2004 2:54:31 PM

3 Replies
814 Views

(page loaded in 0.431 seconds)

Similiar Articles:













7/23/2012 12:05:20 PM


Reply: