MLUG: Re: [MLUG] Suse passwd scripting
Re: [MLUG] Suse passwd scripting
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi,

found my solution:
    chpasswd
is on SuSE and RedHat and is exactly what is was looking for.
I tried yesterday "expect", but I could get it only to work under
RedHat. :-(((

thanks,

/sven

Sven Conrad wrote:

> Hi all
>
> I try to migrate a server from RedHat to SuSE. I have a script for
> generating user accounts which runs fine on RedHat, but generates
> trouble on SuSE. The problem is that SuSE 9.1 has a "passwd" that does
> not understand the '--stdin' option. I have not jet found a way to set
> the password from a script on SuSE. Does anyone have a idea?
> Is there a chance to use chat for this? I don't know how I get
> stdin/stdout of passwd connected to chat?
> Since the script could be converted to python, is there a passwd/pam
> module for python? I could also switch to pearl or so, if that would 
> help.
>
> /sven
>
> PS: redhat passwd does not work on SuSE.
>
>
> _______________________________________________
> members mailing list
> EMAIL:PROTECTED
> http://mlug.missouri.edu/mailman/listinfo/members
>
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members