📄 addusers.pl
字号:
#!/usr/bin/perl## this program will read users and password from a file# that is separated by ":" colons## Thanks to "J黵gen Hoffmann" <jh@byteaction.de>use IO::File;my $fh=new IO::File;$fh->open("user.dat");while(<$fh>) { chop; my ($username,$password) = split/:/; # I am assuming they are seperated by colons system("~vpopmail/bin/vadduser","$username\@domain.tld","$password");$fh->close;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -