su command is used to change the user.
there is useradd and adduser commands
userdell
To create a new user account under any Linux distribution use command called useradd. The system administrator is responsible for creating account. Login as root user (or use sudo command).
In a Linux terminal, the command to create a new directory is: mkdir .
groups username
su = switch user RTFM, Luke...
Type the following command# ls -l
Use the 'newgrp' command.
su (will change user to root)sudo command (will run command as root)
crontab -e
Either login as the root user or type: sudo then the command you wish to run.
i don't think you can
$ passwd to change your own password:Log in as root to change the password for a user named fred:# passwd fredCommands to add a new user and then set a password for a user named fred:# adduser fred# passwd fred
The "whoami" command should show you what account you are currently using.