When you set up administrative users for TFS.Su-admin , there is-bash-4.1#Chown Admin:admin/home/admin #授予admin用户权限The . BASHRC and . Bash_profile of the other machines.[Email protected] admin]# su-admin-bash:sh_profile:command not found # less copy something, the following error occurred, can infer the next is also the Admin user environment variable problem. Follow this line of thought.-bash:shrc:command not found[email protected] admin]# cat. Ba
The romantic Tanabata is coming up,Except Su-eun love.There's something more fun to do.Give me a chestnut:
Login to Job.oschina.net, participate in Sweepstakes
Again to improve the resume, and then to draw the award!! By the way, for a high-paying job, 11 travel expenses do not worry.
Invite friends to complete the resume, and then smoke again!!! Nani, this is to LUN home will be mechanical keyboard, limited edition t-shirts are all hug ho
An error occurred while switching to Oracle:[Root @ ARSC ~] # Su-OracleSu:/bin/Bash: Too program open files in System[Root @ ARSC ~] #
Bytes -------------------------------------------------------------------------------------
[Root @ ARSC ~] # Cat/proc/sys/fs/file-max512
[Root @ ARSC ~] #
Too few files found
View/etc/sysctl. conf and find:
FS. File-max = 512 * Processes
Before use, normal users can switch normally: Find the solution in wangs
Linux has strict permissions control, if you switch from root to other users do not need a password to switch, if you switch from another user to the root user must enter the root user's password.1, Su Root prompted to enter the password because of high administrator privileges, in order to prevent other users from tampering with the system, switch to administrator must enter the administrator password.2, the input password is not visible, the wrong c
Linux plain user Su root toggle prompt no files or directoriesUnable to log on remotely and locally with rootNormal user can log in remotely, but cannot switch rootWorkaround:To restart the server into single-user mode:Press "E" on the kernel that you want to start on grub (typically one, press E directly)Go to the next screen, select the second line kernel, continue to press "E"After entering the text interface, space, enter "single" returnAfter ente
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 Administrator group that only allows users in this group to execute the "su-" command to log on as the root user, users in other groups cannot Log On As root
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 solution is as follows:
◆ The
Solution to su authentication failureAfter Ubuntu is installed, the root user is locked by default and cannot log on or "Su"Root. Some people say this is a bad practice, especially for servers. I think it should be more secure for desktop users, but it can be set to "allow Su" for servers.To root, but root users are not allowed to log on directly ". For the conve
Su [-FMP] [-C command] [-s shell] [-- help] [-- version] [-] [user [Arg]-C command: the user who changed the account to user, and then executes the command to change it back to the original user.What is the difference between the su command and the Su-command in Linux?Su username is switched to another user, but does n
One, the SU commandThere are some things in the Linux system that can only be done by the root user, the normal user cannot do it, and then it is necessary to temporarily switch to root.[Email protected] ~]# WhoAmIRoot[Email protected] ~]# su davery[Email protected] root]$[Email protected] root]$ pwd/root[Email protected] root]$[Email protected] ~]# su-daveryLa
When su is used to switch to the root, the system prompts: cannotsetgroups: The operation is not allowed-Linux Enterprise Application-Linux server application information. The following is the details. Switch to the/bin directory and use ls-l to check whether the su File Permission is rwxr-xr-x or-rwxrwxrwx. If yes, run the following command:
Chmod ug + s su
If you are a sudoer but do not know the root password, you may encounter the following similar information when running some X programs that require special permissions:[Pc01]> sudo ethereal
Ssh (28492) X11 connection rejected because of wrong authentication.
The application 'ethereal' lost its connection to the display localhost: 11.0;
Most likely the X server was shut down or you killed/destroyed
The application.
[Pc01]> sudo su
[Pc01]> whoami
Root
Linux User management command-useradd passwd usermod chage userdel su instance, useraddusermod
User's home directory
Common User:/home/user name. Both the owner and the group belong to this user. The permission is 700.
Super User:/root/the owner and group are both root users with the permission of 550
--------------------------------------------------------------------------------
Useradd [Option] User Name
Option:
-U UID: manually specify the user's
Set Su to password not requiredIf you do not need to enter a password for a user's su command, you need to modify the following:
1 ---> if there is no wheel group, use sudo groupadd wheel to create
Command: sudo groupadd wheel; 2 ----> sudo Vim/etc/group add username and root to the wheel User Group
3 ----> Add the user to the wheel group and run the command usermod-G wheel meepouser;
4 ----> modify the
Decompress the/tmp/etc.tar.gz file under/usr/local/src [root @ Linux ~] # Cd/usr/local/src [root @ Linux SRC] # tar-zxvf/tmp/etc.tar.gz # by default, We can unbind the compression file anywhere! In this example, # first change the working directory to the/usr/local/src directory, and unlock/tmp/etc.tar.gz, # The unlocked directory will be in/usr/local/src/etc! In addition, if you enter/usr/local/src/etc #, you will find that the file attributes in this directory may be different from those in/et
After Ubuntu has just been installed, you cannot run the SU command in terminal because Root does not have a default password and needs to be set manually.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, specify the following steps:1. Open a terminal and enter the following commandsudo passwd [root]Enter the original password, the new password
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, specify the following steps:1. Open a termin
Tags: alt edit sudoer file in Visudo sudo config exit parameterLet's review the previous section:
User groups Add Groupadd
User Group Modification Groupmod
User group Delete Groupdel
The job creates a group with ID 501 group1, then changes to Group2, and the ID becomes 502, and finally the group is deleted, with the following commands:
GROUPADD–G 501 Group1Groupmod–g 502–n group2 group1Groupdel group2In this section, let's take a look at the user Switching related comma
Troubleshooting of SQL plus logon failures caused by su switching in OracleProblem description:The oracle database in the production environment suddenly fails to log on, and the oracle database in the rlwrap production environment suddenly fails to log on. rlwrap sqlplus "/as sysdba" reports the following error: rlwrap[Oracle @ localhost root] $ rlwrap sqlplus "/as sysdba"5. Perform a soft connection to sqlplus.[Oracle @ localhost root] $ exit6. Set
experience, to learn more after this.Lin Qipeng: This week learned the basic knowledge of html,javascript, later to learn a lot.Liu Shaoyun: Because there was little contact with the front end of things, and did not seriously do the demand analysis, so in the design before and after the interaction of no experience, changed a lot of times are not very satisfied, about the project structure design also thought for a long time, so there are a lot of places to learn.Wu Hao: Beginner HTML5 and CSS,
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.