每次添加新用户时执行命令最简单的方法是什么?
我检查了/etc/adduser.conf但是没有什么东西在那里看起来会这样做?
我想将它添加到用户.bashrc,以便jsut在登录时执行,但我宁愿在登录之前进行设置.
任何帮助,将不胜感激.
从男人adduser:
If the file /usr/local/sbin/adduser.local exists,it will be exe‐ cuted after the user account has been set up in order to do any local setup. The arguments passed to adduser.local are: username uid gid home-directory
原文地址:https://www.jb51.cc/bash/383544.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。