Home Tutorials IT Jobs Source Codes Certifications Discussion Forum
  Linux Tutorial
Linux Introduction
Unix
Linus and Linux
What Kernel Is?
Linux Commands
Linux Shell
Root and Other Users
Virtual Consoles
Logoff and Shutdown
The Command Prompt
Wildcards
Command History
Aliases
Redirection
Pipelines
Stopping a Program
Environment Variables
Exit Status
Linux File System
Linux File Names
Linux Directories
Directory Terminology
Navigating the File System
Listing Linux Files
Linux Downloads
Recommended Books
   IT Jobs
Software Jobs
Networking Jobs
   Model Question Papers
BE Computer Science
MCA
BCA
Others
 
   

Root and Other Users

In any Unix system, the root user is called a superuser because it has powers far beyond those of mortal users (and it's not even affected by kryptonite).

As root, you can access files and change the system in ways other users cannot. But you can also wipe out your entire hard drive in just ten keystrokes.

Unless you plan to install new software or tweak your system, you should log in to Linux as a user other than root.

Ex Nihilo: Adding New Users

In the Linux universe, new users do not evolve--they are created by a benevolent superuser. To add a new user account, log in to the root account and enter a command like the one shown here. There's no limit to the number of new users you can add.

adduser hermie

After using the adduser command, you must assign a password to the new account before it can be used. Use this command to set the password:

passwd hermie

. . . and enter the initial password for hermie when prompted.

<< Previous | Next >>

Home  |  About us  | Privacy  |  Disclaimer  |  Contact us |  Advertise with us | Our Link Partners
All Rights Reserved 2009, CodeTeller.com