1, Su Command function: The role of SU is to change the identity of other users, except for superuser, you need to type the user's password. How to use: Su [-FMP] [-C command] [-s Shell] [--help] [--version] [-] [USER [ARG]] Parameter description: -F, –fast: Do not need to r
The basic steps for installing SU (Seismic Unix) on Ubuntu16.04 are ubuntu16.04seismic.
Seismic Unix (SU) is a source Seismic data processing software developed by the Wave Field Research Center (CWP) of the Colorado mining Institute, at present, many scholars use SU for se
MAN: manual refers to the manual. You can use this command to query the usage of other commands.
PWD: Print working directory indicates a password.
Su: Switch the swith user to the root user.
CD: Change directory switch directory
Ls: List Files
PS: Process status
Mkdir: Make directory to create a directory
Rmdir: Remove directory move directory
Mkfs: Make File System: create a file system
Tags: command su sudo3.7 su command :su Command is used to switch users, for example I want to switch from root user to user2 User: 650) this.width=650; "src=" Https://s4.51cto.com/wy
Ubuntu enters root permission command--sudo and su command details
Ubuntu User Management sudo means super-user do, which allows the current user to temporarily execute this command as the administrator's identity root.Su is used to change the current user's, Su
parameter is passed in.4. ExampleSu-c ls root changes the account number to root and exits to the original user after the LS command is executed.Su [user name]A> under root user, enter Su ordinary user. Switch to normal user, switch from root to work without requiring a passwordB> under normal user, enter Su [user name]Hint Password:Enter the user's password, th
protected] ~]# passwd adminchanging password for user admin. New Unix Password:bad Password:it is too shortretype new UNIX Password:passwd:all authentication tokens updated succes Sfully. [Email protected] ~]# usermod-g wheel Admin Method One: The wheel group can also be specified as a different group. Edit/ETC/PAM.D/SU Join For
Tags: linux root su sudoSU command:1, SU Switch user command example: su-aming2. WhoAmI View Current User commands3. PWD View current directoryExample: Input su aming can also switch us
the user environment in which it is located
Example : Switch User root to user it for login and even Shell environment. [Email protected] ~]# su-itSwitch from user root to normal user it does not need to enter the user's password[Email protected] ~]$ pwd/home/itthe Shell environment has switched, so the current working directory path is /home/itExample : Switch User root to user it to log in, theS
", such as the user's home directory and other personalization settings for the user.Normal user switch other users need to know the password of other users, the root user to use the SU command to switch other users, do not need to know the user password2. sudo commandThe use of sudo is to add a command to execute after sudo, indicating that the
root right execution commandAlthough the SU command makes it easy for ordinary users to take over the root user under the root user's work, but requires the root user authorization password, we know that the common use for more than one, so the root password issued many times, once accidentally leaked, it is not safe. We have not long-term root password method, but also to allow ordinary users to work, of
Linux prohibits non-WHEEL users from using the SU command
Generally, you can log on as the root user to configure the system as Administrator by executing the "su-" command and entering the correct root password.
However, in order to further enhance the security of the system, it is necessary to establish an Administra
Linux prohibits non-WHEEL users from using the su command
Generally, you can log on as the root user to configure the system as Administrator by executing the "su-" command and entering the correct root password.
However, in order to further enhance the security of the system, it is necessary to establish an Administra
Typically, a typical user can log on as the root user to configure the system at the administrator level by executing the "Su-" command and entering the correct root password.However, in order to further enhance the security of the system, it is necessary to establish a group of administrators, only allow users of this group to execute the "Su-"
First, let's look at su-run a shell with substitute user and group IDs on the man help page. That is to say, through su, we can start a shell program without providing users and group names. su is a binary executable file. The path of the command file is/bin/su. The followin
root changes the account number to root and exits to the original user after the LS command is executed.Su [user name]A> under root user, enter Su ordinary user. Switch to normal user, switch from root to work without requiring a passwordB> under normal user, enter Su [user name]Hint Password:Enter the user's password, then switch to the userExpand read one: Lin
-- upstream does not use the/usr/local/* path by default during packaging. However, most root commands are located at/usr/sbin and/sbin, and occasionally at/usr/local/sbin. This is also reflected in the root path. When you use Su-to change to root, you will also adopt the root path. In contrast, only su will retain the user's path value. For this reason, when Su
Linux prevents anyone from using the SU command as the root method:
1.vi/etc/pam.d/su
Auth sufficient/lib/security/pam_rootok.so Debug
Auth required/lib/security/pam_wheel.so Group=wheel
2. The wheel group is defined in the/etc/pam. D/SU configuration file.
The Linux operating system, a clone of the
The su command is used to switch between users, either from a common user to a root user or from a root user to a common user. When a common user switches to a root user, the authentication password is required. In ubuntu, when a user switches from a common user to a root user for the first time, the system will prompt that the su authentication fails. The soluti
After Ubuntu has just been installed, running the SU command in terminal will require a password, however, no matter what the loss will be wrong, the direct return is also wrong, because Root does not have a default password , need to manually set.
To install the user name entered in Ubuntu login, the user in the Admin group, has the authority to set the root password.
To set a password for the root user,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.