特殊:Badtitle/NS100:AddUsersHowto:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第11行: | 第11行: | ||
=== Graphical Ubuntu === | === Graphical Ubuntu === | ||
'''Location:''' ''System'' > ''Administration'' > ''Users and Groups'' | '''Location:''' ''System'' > ''Administration'' > ''Users and Groups'' | ||
https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser1.png | {{https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser1.png%7D%7D | ||
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''. | 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''. | ||
https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser2.png | {{https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser2.png%7D%7D | ||
=== Graphical Kubuntu === | === Graphical Kubuntu === | ||
'''Location:''' ''Kmenu'' > ''System Settings'' > ''Users & Groups'' | '''Location:''' ''Kmenu'' > ''System Settings'' > ''Users & Groups'' | ||
https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser3.png | {{https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser3.png%7D%7D | ||
Press ''Administrator Mode'', this will pop up a password box. Enter your password. Press ''<u>N</u>ew...'', 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 ''<u>S</u>elect...'', and add priviledges that the new user will have access to. | Press ''Administrator Mode'', this will pop up a password box. Enter your password. Press ''<u>N</u>ew...'', 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 ''<u>S</u>elect...'', and add priviledges that the new user will have access to. | ||
https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser4.png | {{https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser4.png%7D%7D | ||
=== Command-line === | === Command-line === | ||
To add a user you must use the <code><nowiki>sudo</nowiki></code> command (for an explanation of what that means, see the [[UbuntuHelp:RootSudo|RootSudo]] page). Here are the commands: | To add a user you must use the <code><nowiki>sudo</nowiki></code> command (for an explanation of what that means, see the [[UbuntuHelp:RootSudo|RootSudo]] page). Here are the commands: |
2008年10月19日 (日) 04:08的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/AddUsersHowto }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/af | • {{#if: UbuntuHelp:AddUsersHowto|Afrikaans| [[::AddUsersHowto/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/ar | • {{#if: UbuntuHelp:AddUsersHowto|العربية| [[::AddUsersHowto/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/az | • {{#if: UbuntuHelp:AddUsersHowto|azərbaycanca| [[::AddUsersHowto/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/bcc | • {{#if: UbuntuHelp:AddUsersHowto|جهلسری بلوچی| [[::AddUsersHowto/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/bg | • {{#if: UbuntuHelp:AddUsersHowto|български| [[::AddUsersHowto/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/br | • {{#if: UbuntuHelp:AddUsersHowto|brezhoneg| [[::AddUsersHowto/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/ca | • {{#if: UbuntuHelp:AddUsersHowto|català| [[::AddUsersHowto/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/cs | • {{#if: UbuntuHelp:AddUsersHowto|čeština| [[::AddUsersHowto/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/de | • {{#if: UbuntuHelp:AddUsersHowto|Deutsch| [[::AddUsersHowto/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/el | • {{#if: UbuntuHelp:AddUsersHowto|Ελληνικά| [[::AddUsersHowto/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/es | • {{#if: UbuntuHelp:AddUsersHowto|español| [[::AddUsersHowto/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/fa | • {{#if: UbuntuHelp:AddUsersHowto|فارسی| [[::AddUsersHowto/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/fi | • {{#if: UbuntuHelp:AddUsersHowto|suomi| [[::AddUsersHowto/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/fr | • {{#if: UbuntuHelp:AddUsersHowto|français| [[::AddUsersHowto/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/gu | • {{#if: UbuntuHelp:AddUsersHowto|ગુજરાતી| [[::AddUsersHowto/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/he | • {{#if: UbuntuHelp:AddUsersHowto|עברית| [[::AddUsersHowto/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/hu | • {{#if: UbuntuHelp:AddUsersHowto|magyar| [[::AddUsersHowto/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/id | • {{#if: UbuntuHelp:AddUsersHowto|Bahasa Indonesia| [[::AddUsersHowto/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/it | • {{#if: UbuntuHelp:AddUsersHowto|italiano| [[::AddUsersHowto/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/ja | • {{#if: UbuntuHelp:AddUsersHowto|日本語| [[::AddUsersHowto/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/ko | • {{#if: UbuntuHelp:AddUsersHowto|한국어| [[::AddUsersHowto/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/ksh | • {{#if: UbuntuHelp:AddUsersHowto|Ripoarisch| [[::AddUsersHowto/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/mr | • {{#if: UbuntuHelp:AddUsersHowto|मराठी| [[::AddUsersHowto/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/ms | • {{#if: UbuntuHelp:AddUsersHowto|Bahasa Melayu| [[::AddUsersHowto/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/nl | • {{#if: UbuntuHelp:AddUsersHowto|Nederlands| [[::AddUsersHowto/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/no | • {{#if: UbuntuHelp:AddUsersHowto|norsk| [[::AddUsersHowto/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/oc | • {{#if: UbuntuHelp:AddUsersHowto|occitan| [[::AddUsersHowto/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/pl | • {{#if: UbuntuHelp:AddUsersHowto|polski| [[::AddUsersHowto/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/pt | • {{#if: UbuntuHelp:AddUsersHowto|português| [[::AddUsersHowto/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/ro | • {{#if: UbuntuHelp:AddUsersHowto|română| [[::AddUsersHowto/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/ru | • {{#if: UbuntuHelp:AddUsersHowto|русский| [[::AddUsersHowto/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/si | • {{#if: UbuntuHelp:AddUsersHowto|සිංහල| [[::AddUsersHowto/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/sq | • {{#if: UbuntuHelp:AddUsersHowto|shqip| [[::AddUsersHowto/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/sr | • {{#if: UbuntuHelp:AddUsersHowto|српски / srpski| [[::AddUsersHowto/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/sv | • {{#if: UbuntuHelp:AddUsersHowto|svenska| [[::AddUsersHowto/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/th | • {{#if: UbuntuHelp:AddUsersHowto|ไทย| [[::AddUsersHowto/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/tr | • {{#if: UbuntuHelp:AddUsersHowto|Türkçe| [[::AddUsersHowto/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/vi | • {{#if: UbuntuHelp:AddUsersHowto|Tiếng Việt| [[::AddUsersHowto/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/yue | • {{#if: UbuntuHelp:AddUsersHowto|粵語| [[::AddUsersHowto/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/zh | • {{#if: UbuntuHelp:AddUsersHowto|中文| [[::AddUsersHowto/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/zh-hans | • {{#if: UbuntuHelp:AddUsersHowto|中文(简体)| [[::AddUsersHowto/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddUsersHowto | UbuntuHelp:AddUsersHowto | {{#if: | :}}AddUsersHowto}}/zh-hant | • {{#if: UbuntuHelp:AddUsersHowto|中文(繁體)| [[::AddUsersHowto/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:AddUsersHowto|:AddUsersHowto|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :AddUsersHowto/zh | | {{#ifexist: AddUsersHowto/zh | | {{#ifeq: {{#titleparts:AddUsersHowto|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:AddUsersHowto|1|-1|}} | zh | | }}
Information
When Ubuntu and/or Kubuntu are initially installed, a single user account was created. It is possible to create additional user logins on your system.
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 -
adduser
Graphical is the easiest solution, while the command-line offers the possibilities of multiple tasks at one time.
Graphical Ubuntu
Location: System > Administration > Users and Groups {{https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser1.png%7D%7D 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. {{https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser2.png%7D%7D
Graphical Kubuntu
Location: Kmenu > System Settings > Users & Groups {{https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser3.png%7D%7D 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. {{https://help.ubuntu.com/community/AddUsersHowto?action=AttachFile&do=get&target=AddUser4.png%7D%7D
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>