Tomasz Bakiera <[EMAIL PROTECTED]> writes: > Chciałbym stworzyć sobie skrypcik w którym parametry podawane to > nazwa_użytkownika i hasło_tego użytkownika, skrypcik tworzy użytkownika > i przyznaje mu hasło. Jeśli chodzi o dodawanie użytkownika to nie > ma problemu można wskazać home directory itp. informacje. Problem > w tym, > że passwd nie posiada możliwości podawania hasła jako parametru > (przynajmniej man passwd nic o tym nie wspomina).
Moze uzyj `expect': ,---- | Expect is a program that "talks" to other interactive programs accord- | ing to a script. Following the script, Expect knows what can be | expected from a program and what the correct response should be. An | interpreted language provides branching and high-level control struc- | tures to direct the dialogue. In addition, the user can take control | and interact directly when desired, afterward returning control to the | script. `---- -- You have no friends. Your beautiful life has changed./ You are going to be insane. / And you want more. / homepage: YOU WANT MORE. / <url:http://42.pl/url/M6>