节点文献
基于HP-UX的批量增删用户的实现
Adding and deleting users as a batch based on HP-UX
【摘要】 系统管理员有时需要新增大量用户帐号,HP-UX只提供了逐个生成用户帐号的命令,而没有提供批量增删用户的命令.使用传统创建帐号的方法,既费时,又易出错.通过分析HP-UX管理用户的方式,根据具体情况,利用perl脚本对相关文件进行读写或利用shell脚本循环调用相关命令,给出了批量增删用户的实现方法.
【Abstract】 When adding a lot of new user accounts sometimes, HP-UX only provides the commands to add and delete user accounts one by one instead ofby a batch.Time will be wasted and mistakes occurr if traditional method to manage lots of user accounts is used.By analyzing the mode of HP-UX users management, according to actual instance, using perl script to read and write relative files, or using shell script to call relative commands circularly,two methods are introduced to add and delete users as a batch.
【关键词】 HP-UX;
perl;
shell;
批量增删用户;
【Key words】 HP-UX; perl; shell; adding and deleting users as a batch;
【Key words】 HP-UX; perl; shell; adding and deleting users as a batch;
【基金】 广西区科技创新项目(桂科能0228025C)
- 【文献出处】 桂林工学院学报 ,Journal of Guilin Institute of Technology , 编辑部邮箱 ,2003年04期
- 【分类号】TP319
- 【下载频次】12