from small one page howto to huge articles all in one place
poll results
Last additions:
May 25th. 2007:
April, 26th. 2006:
|
. You are here: System
Adding Users with SuperadduserAdding users to a system can be tedious. It involves creating an account, setting a password, and creating a home directory. This tip shows how to make adding users easier with the use of superadduser. Code Listing 1: Install superadduser # emerge app-admin/superadduser or # apt-get install superadduser or ... Using superadduser is very easy. Just run the command and follow the prompts. Code Listing 2: Using superadduser // Replace the examples with your own information # superadduser Login name for new user [ ]: johndoe User id for johndoe [ defaults to next available]: Initial group for johndoe [ users]: Additional groups for johndoe (seperated with commas, no spaces) []: johndoe's home directory [ /home/johndoe]: johndoe's shell [ /bin/bash]: johndoe's account expiry date (YYYY-MM-DD) [ ]: OK, I'm about to make a new account. Here's what you entered so far: New login name: johndoe New UID: [ Next available]
Initial group: users Additional groups: Home directory: /home/johndoe Shell: /bin/bash Expiry date: [ no expiration]
This is it... if you want to bail out, hit Control-C. Otherwise, press ENTER to go ahead and make the account. ENTER Making new account... Changing the user information for johndoe Enter the new value, or press ENTER for the default Full Name [ ]: John Doe Room Number [ ]: Work Phone [ ]: Home Phone [ ]: Other [ ]: New UNIX password: user_password Retype new UNIX password: user_password Done... From http://www.gentoo.org/news/en/gwn/20030505-newsletter.xml rate this article:current rating: average rating: 1.2 (74 votes) (1=very good 6=terrible) Your rating: back
|