slackware 创建普通用户

随笔9个月前发布 几分淡然
123 0 0

在安装完成系统后,第一步是创建一个普通用户。

adduser 后跟需要创建的用户名,若无特别指定的,可以默认回车

root@slackwareloong:~# adduser slackwareloong

Login name for new user: slackwareloong

User ID (‘UID’) [ defaults to next available ]:

Initial group [ users ]:

Additional UNIX groups:

Users can belong to additional UNIX groups on the system.

For local users using graphical desktop login managers such

as XDM/KDM, users may need to be members of additional groups

to access the full functionality of removable media devices.

* Security implications *

Please be aware that by adding users to additional groups may

potentially give access to the removable media of other users.

If you are creating a new user for remote shell access only,

users do not need to belong to any additional groups as standard,

so you may press ENTER at the next prompt.

Press ENTER to continue without adding any additional groups

Or press the UP arrow key to add/select/edit additional groups

走到这一步时,让你设置用户组,新建的普通用户没有特别设置的话,可以按上方向键,会出现默认用户组:

:  audio cdrom floppy input lp netdev plugdev power scanner video

然后继续默认回车,直到提示输入两次密码,回车,即可成功创建用户和配置好用户组了。

© 版权声明

相关文章

暂无评论

您必须登录才能参与评论!
立即登录
暂无评论...