Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何创建用户,并设置默认用户组 #5

Open
shipujin opened this issue Jul 12, 2023 · 0 comments
Open

如何创建用户,并设置默认用户组 #5

shipujin opened this issue Jul 12, 2023 · 0 comments

Comments

@shipujin
Copy link
Member

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

  • 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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant