su command is used to change the user.
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
You can obtain root permissions in Linux by using the "sudo" command before executing a command that requires elevated privileges. This allows you to temporarily act as the root user to perform administrative tasks. Alternatively, you can switch to the root user using the "su" command by entering the root user's password.
Type the following command# ls -l
su = switch user RTFM, Luke...
Use the 'newgrp' command.
crontab -e
Either login as the root user or type: sudo then the command you wish to run.
$ 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
i don't think you can
The "whoami" command should show you what account you are currently using.