from small one page howto to huge articles all in one place
 

search text in:




Other .linuxhowtos.org sites: toolsntoys.linuxhowtos.org
gentoo.linuxhowtos.org

Poll
Which linux distribution do you use?







poll results



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

4609

userrating:

no votes yet


May 25th. 2007:
Words

486

Views

17556

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

11089

userrating:

no votes yet


April, 26th. 2006:

Druckversion . pdf icon
You are here: System

Adding Users with Superadduser


Adding 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: 2.2 (4 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back
Please read "Why adblockers are bad". Ärger mit Freenet.de



other Ads
Stellenangebote
Stellenangebote
für Fach- und
Führungskräfte
www.nachoben.com
Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
FeedCollector
Combine various newsfeeds to one customized webpage
www.feedcollector.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004 S&P Softwaredesign
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 33.0 ms
system status display