answersLogoWhite

0

su command is used to change the user.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you create users in Linux?

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).


Which Linux command is equivalent to Windows' MD command?

In a Linux terminal, the command to create a new directory is: mkdir .


What is the command in Linux to see the groups of a user?

groups username


How do you obtain root permissions in Linux?

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.


What do the su command stand for in Linux?

su = switch user RTFM, Luke...


How do you find user permissions in Linux?

Type the following command# ls -l


HOW TO CREATE NEW USERS IN LINUX USING BASH?

To create new users in Linux using Bash, you can use the useradd command followed by the username. For example, sudo useradd newusername will create a user named "newusername." To set a password for the new user, use the command sudo passwd newusername and follow the prompts. Additionally, you can specify options like user home directory or shell by using flags such as -m for creating a home directory or -s for setting the default shell.


In Linux which command can be used to alter the primary group associated with a given user temporarily?

Use the 'newgrp' command.


Which command allow you to edit the cron jobs for the current user in linux?

crontab -e


How do you run a command with root previlage on Linux?

Either login as the root user or type: sudo then the command you wish to run.


Which Linux command can be used to create and reset password for a user?

$ 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


How can you stop a user from logging on in Linux?

Just change their password to something unguessable with the passwd command.