特殊:Badtitle/NS100:AddUsersHowto/zh:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Ekeng留言 | 贡献
Ekeng留言 | 贡献
第8行: 第8行:
当Ubuntu或Kubuntu刚刚安装完成,就会创建一个单独的用户.创建额外的帐户来登录您的系统也是可行的.
当Ubuntu或Kubuntu刚刚安装完成,就会创建一个单独的用户.创建额外的帐户来登录您的系统也是可行的.


== Options ==
==选项==
There is more than one way to add a user, however this wiki page will briefly discuss the easiest and most common ways. The two ways shown are:
添加一个用户有多种方法,然而,本维基只是简要论述最简单最常见的方法.以下是两种方法:
* Graphical
 
* Command-line - <code><nowiki>adduser</nowiki></code>
* 图形界面
Graphical is the easiest solution, while the command-line offers the possibilities of multiple tasks at one time.
* 命令行 - <code><nowiki>adduser</nowiki></code>
图形界面是最简单的,而命令行则用于产生多任务同时运行的可能性.


=== Graphical Ubuntu ===
=== Graphical Ubuntu ===

2007年6月19日 (二) 18:33的版本

{{#ifexist: :AddUsersHowto/zh/zh | | {{#ifexist: AddUsersHowto/zh/zh | | {{#ifeq: {{#titleparts:AddUsersHowto/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:AddUsersHowto/zh|1|-1|}} | zh | | }}


信息

当Ubuntu或Kubuntu刚刚安装完成,就会创建一个单独的用户.创建额外的帐户来登录您的系统也是可行的.

选项

添加一个用户有多种方法,然而,本维基只是简要论述最简单最常见的方法.以下是两种方法:

  • 图形界面
  • 命令行 - adduser

图形界面是最简单的,而命令行则用于产生多任务同时运行的可能性.

Graphical Ubuntu

Location: System > Administration > Users and Groups

AddUsersHowto?action=AttachFile&do=get&target=AddUser1.png

Press + Add User, this will open up the User Account Editor. The minimum requirements are Username and password. For the Username, do not use spaces, and do use ASCII characters. On the User privileges tab, add privileges that the new user will have access to, such as use audio devices.

AddUsersHowto?action=AttachFile&do=get&target=AddUser2.png

Graphical Kubuntu

Location: Kmenu > System Settings > Users & Groups

AddUsersHowto?action=AttachFile&do=get&target=AddUser3.png

Press Administrator Mode, this will pop up a password box. Enter your password. Press New..., this will open up the User Account - KDE Control Module. The minimum requirements are Username and password. For the Username, do not use spaces, and do use ASCII characters. On the Secondary Groups area, press Select..., and add priviledges that the new user will have access to.

AddUsersHowto?action=AttachFile&do=get&target=AddUser4.png

Command-line

To add a user you must use the sudo command (for an explanation of what that means, see the RootSudo page). Here are the commands:

To add a user. NOTE: do not use the useradd command.

# sudo adduser <username>

To see the options for adding a user try the man command.

# man adduser

You might also wish to create a new group for your users.

# sudo addgroup <groupname>

To add a new user to a existing group you would do this:

# sudo adduser <username> audio

To add an existing user to an existing group you can use the same command:

# sudo adduser <username> <groupname>