由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - [转载] 请教
相关主题
Re: anyone know how to generate encrypted passwd by crypt() ?paste command 里面的 -
how to use htpasswd command?command line socket tools
Key in Shared Memoryunix下编译fortran 的错误太多,看不到怎么办?
CGI之Perl Script一问 How to capture all keystrokes in linux?
有没有四舍无入的函数?Bash里面 <<< 是什么意思
help!!! pipe programHelp! shell programming
问一个关于at的问题怎么能MAN出STAT.H呢
what's wrong with this ftp batch file?help about chmod
相关话题的讨论汇总
话题: stdin话题: passwd话题: userid话题: script
进入Unix版参与讨论
1 (共1页)
y**a
发帖数: 39
1
【 以下文字转载自 Programming 讨论区 】
【 原文由 yoga 所发表 】
在perl中如何把需要从STDIN得到的parameter不从STDIN来pass给它.
For example:
call a script:
`htpasswd passwordfile userid`;
which will add userid into passwordfile and generate the encrypted password
from the STDIN.
it will run like the following:
passwd:
re-type passwd:
怎样把一个default的passwd传过去在不改变这个script的情况下.
谢谢
1 (共1页)
进入Unix版参与讨论
相关主题
help about chmod有没有四舍无入的函数?
which command will tell mehelp!!! pipe program
[转载] Re: [转载] a UNIX permission question问一个关于at的问题
Apache中如何加入用户和口令?what's wrong with this ftp batch file?
Re: anyone know how to generate encrypted passwd by crypt() ?paste command 里面的 -
how to use htpasswd command?command line socket tools
Key in Shared Memoryunix下编译fortran 的错误太多,看不到怎么办?
CGI之Perl Script一问 How to capture all keystrokes in linux?
相关话题的讨论汇总
话题: stdin话题: passwd话题: userid话题: script