Manage users and groups
From NewbieDOC
- Chris Lale
- chrislale AT users DOT berlios DOT de
Go to NewbieDOC index
Revision History
Revsion 1.0 | 31st January 2006 | Revised by Chris Lale | ||||||||||
Initial release. | ||||||||||||
| ||||||||||||
Revsion 1.1 | 22nd November 2007 | Revised by Chris Lale | ||||||||||
Modified to include Revision History, Abstract and Appendix for Licence, so that a stable version can be included in the "newbiedoc" package. | ||||||||||||
| ||||||||||||
Revsion 1.2 | 26th September 2009 | Revised by Chris Lale | ||||||||||
Updated for Debian Squeeze. | ||||||||||||
Brief newbie help about how to manage users and groups in Debian using Gnome, KDE, generic desktop and commandline tools.
1 Gnome desktopYou must install the
You will need the root password. The main Users Settings window shows a list of users. In order to to supply the root password you must click the Unlock button. Unlock -> Password for root -> Authenticate Operations are carried out by selecting items and clicking on buttons. 1.1 Users SettingsThere are four buttons available:
1.1.1 Add User
1.2 Manage GroupsThe Add Group button is available at any time. The other buttons are greyed out unless a group is selected first. The buttons are
1.2.1 Add Group/Properties dialogue
2 KDE desktop
You will need the root password. There are two tabbed windows - one to manage users and one to manage groups. Operations are selected from the User menu and the Group menu. 2.1 Users tabMenu operations available include
2.1.1 User Add/Edit dialogue
2.2 Groups tabMenu operations available include
2.2.1 Group Add/Edit dialogue
3 Any window manager (generic)You can use either of the above tools by installing the Alternatively, you can install the $ su (enter root password) # dpkg -i name-of-package.deb # exit $ Accept the defaults during installation. You will then need the root password to access webmin. 3.1 Run WebminOpen a browser and visit this URL: https://localhost:10000/ Log into webmin using the root username and password. 3.2 Manage users and groupsClick on the System tab and then Users and Groups.
3.2.1 Create or deleteThere are two tables - Local Users and Local Groups. At the top of each table there is a link that enables you to create new users or groups. Each entry in a table has a checklist box that enables you to select user(s) or group(s). There is a button at the bottom of each table that allows you to delete selected users or groups. 3.2.2 EditEach user or group has a link that enables you to edit details
4 CommandlineRun these commands from a terminal or a terminal window as root. Read the man pages first. Eg to read the manual for adduser: $ man adduser
4.1 Examples4.1.1 Add a user# adduser junk Adding user `junk'... Adding new group `junk' (1005). Adding new user `junk' (1005) with group `junk'. Creating home directory `/home/junk'. Copying files from `/etc/skel' Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for junk Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [y/N] y # 4.1.2 Delete a user# deluser Enter a username to remove: junk Removing user `junk'... done. #
5 Appendix A: LicenceCopyright (c) 2006-2009 Chris Lale. chrislale AT users DOT berlios DOT de
Go to NewbieDOC index |