Recently bought a server, only a root user, every day login is not convenient, so want to create new users, before the local is the interface session of the new user, this time to record the learning command line to create a new user process:The first step:# sudo adduser zhq This ZHQ is your own defined user nameThe ne
It is strange that the installation of xampp will jump out of the chrome-related error. I installed xampp once yesterday and it also jumps out of this error. I tried it again today and it will still pop up. Why? Error message: Start googlechrome as a normal user ". To be shipped as a user...
It is strange that the installation of xampp will jump out of the chrome-related error. I installed xampp once yeste
To change the password step:
1, open the terminal, enter the command: sudo passwd user name
2, enter the original password, then you will be prompted to enter a new password, enter the new password.
3, the new password has been in force, close the terminal can be.
such as process
root@zwh-virtual-machine:~# sudo passwd Daxiang
Enter a new UNIX password:
Re-enter the new UNIX password:
passwd: Password was updated successfully
root@zwh-virtual
In the previous chapter to crack root permissions, the individual is not recommended to use the root user, after all, the greater the responsibility of the greater the more. But some friends still need it, let's talk about it.Crack root privileges:1) sudo passwd root//Set password for root user2) put the/etc/ssh/sshd_config file under thePermitrootlogin Without-password modified to Permitrootlogin Yes//This is allowed to log in as root user3) Rebootin
My system is ubuntu8.04. The newly installed MySQL always has an error prompt when it enters the MySQL tool:
# Mysql-uroot-PEnter password:Error 1045 (28000): Access denied for user 'root' @ 'localhost'(Using password: No)
Use the methods described on the Internet to change the password of the root user:# Mysqladmin-uroot-P password 'newpassword'Enter password:Mysqladmin: connect to server at 'localhost' fa
ubuntu14.04, the default root user will not be able to log on remotely. It may be for safety reasons. Before the normal user login, and then switch to the root user, today, the related issues organized a bit, opened the root user remote SSH login.To log in remotely, you first need to install Ssh-server.Apt-get Install
Remember once, want to put their computer "Houbin Rabbit" Take a loud name, but asked for a long time Niang and Google, all want me to delete the current user (Userdel-r xxx), re-build a user (AddUser xxx), but my computer is all environment variables are well-equipped, Do Android source development of children's shoes will know, with an environment is how abnormal, in the middle of a step error, will lead
How to modify the Ubuntu terminal Display user name and hostname, this problem for the familiar person, trivial, but sometimes knowledge should always accumulate some, even a small knowledge point, sometimes come to the time to find forget how to do, so record. The steps are simple."Declaration" Welcome reprint, but please keep the article original source: http://blog.csdn.net/yelangjueqi/article/details/45
Ubuntu 16.04 System at the beginning of the installation is not able to switch to the root user, ordinary users need to use root permissions when you usually need to add "sudo" before executing the command, requires frequent use of root permissions of the partners may feel that this will make our egg classmate very sad ...In fact, to solve the problem of egg classmate is very simple, as long as the root wit
UbuntuNew User Experience
1. Add a user(1) Create a New User username# Sudo useradd username(2) set the username Password.# Sudo passwd username2. Add a user groupCreate a new group groupname# Sudo groupadd groupname3. Modify an account(1) Add username to group groupname# Sudo usermod-g groupname username(2) Change th
Reference: http://blog.csdn.net/sunxiaoju/article/details/519930911. Use: sudo passwd root to set the root password as shown in:2. Use SU root to test if you can enter the root user, if the # description has been set to the root user's password successfully, as shown in:3. Go to the/usr/share/lightdm/lightdm.conf.d/directory and open the 50-unity-greeter.conf file using the gedit 50-unity-greeter.conf command as shown in:4, in the open file to add th
Method One, modify the passwd file1. Edit the passwd filesudo vim/etc/passwd2, find the user you want to mention the right (such as test), the user name after the number changed to 0Find User testtest:x: +::/home/Test Modify Permissions test:x:0:0::/home/test3. Restart the computer and log in to the test account.Method Two, temporarily use the root userSu RootThe
Tags: button har restart show command file sdn picture amp1. Use: sudo passwd root to set the root password as shown in:2. Use SU root to test if you can enter the root user, if the # description has been set to the root user's password successfully, as shown in:3. Go to the/usr/share/lightdm/lightdm.conf.d/directory and open the 50-unity-greeter.conf file using the gedit 50-unity-greeter.conf command as shown in:4, in the open file to add the follow
group Youuser inside user to execute sudo command (need to enter password).Line three: Allow the user to execute the sudo command youuser, and do not enter a password at the time of execution.Line four: Allow user group Youuser inside user to execute sudo command, and do not enter password at execution time.4. Revoke
Symptom:
In my environment, I installed mysql with apt-get in xubuntu 12.10. I cannot log on to mysql. The error message is as follows: sudo apt-get install mysql-server mysql-client) after installation. the mysql service is running. in this case, you need to change the root password, but this often happens. 'Access denied for user' root' @ 'localhost' (using password: YES) 'or other situations that cause logon Failure to mysql.
Solution: 1. Open the
command to test whether MySQL is installed successfully
$sudo mysql-p Enter the root password you just set
The MySQL URL format is as follows:
Mysql://username:password@domain/dbname
2.3 Creating the Opensips Database
Create a database using the sudo opensipsdbctl create command, which requires you to enter the password for the MySQL database root.
Is the password you entered in the previous step. Then there are additional tables for you to choose whether to create and then opensips the d
After studying vsftpd for two days, I found a lot of information from the Internet. If this problem was not solved, I finally solved the problem. The following shows my configuration process. Don't like, don't spray...
1. Install vsftpd
sudo apt-get install vsftpd
Overview of directories after installation
/Etc/vsftpd. conf
Main configuration file
/Usr/sbin/vsftpd
Main Program of vsftpd
/Etc/rc. d/init. d/vsftpd
Start script
1. Create a new user User2sudo adduser temporarysudo adduser temporary sudo2. From User1 logout. Enter new user User2, modify User1 's name and home directory namesudo usermod-l new_username-d/home/new_username-m user13. Logout from User2, enter User1 (new_username) and delete User2.sudo deluser temporarysudo rm -r /home/temporaryUsermod-l new_username-d/home/new_username-m Old_usernamePermissions-how do I
Tags: mysql ubuntuMysql-u Root-p Press ENTER, after entering the password, you are prompted for access denied......ues password yes/no error.The first step:Then you need to go into the/etc/mysql directory, then sudo vim/vi debian.cnf to view the username and password inside, then use the username and password in this file to enter MySQL, If the user name in DEBIAN.CNF is Debian-sys-maint, then:Mysql-u Debian-sys-maint-p Press ENTER, you need to enter
It is strange that installing XAMPP will jump out of chrome-related errors, I also installed a xampp yesterday is also jumped out of this error, today, try again, or will jump out of this error. Why the hell?Error message:请以普通身份启动“google chrome”。要以跟用户身份运行,您必须为个人资料信息的存储制定其他的“-user-data-dir”
Reply content:
It is strange that installing XAMPP will jump out of chrome-related errors, I also installed a xampp yesterday is also jumped out of this error
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.