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

search text in:





Poll
What does your sytem tell when running "ulimit -u"?








poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

186390

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

250365

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:

137545

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


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

back





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
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: 52.4 ms