After the installation of Ubuntu system, the default is not to allow root users to log in directly, we can be a few simple steps to open the root user login. The ubuntu14.*/15.*/16.* version is generic.1. Set Root passwordsudo passwd root2. Switch to the root userSu-3, edit the /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf file, if there is no this file, directly createThe contents are as follows:[Seatde
background Color:40--49 Font Color:30-39 40: Black 30: Black 41 : Red 31: Red 42: Green 32: Green 43: Yellow 33: Yellow 44: Blue 34: Blue 45: Violet 35 : Violet NBSP; 46: Dark green 36: dark green NBSP ; 47: White NB Sp 37: white ANSI control code:\033[0m close all Properties \033[1m setting High brightness \033[4m underline \033[5m flashing \033[7m Anti-display \033[8m blanking \033[30m- -\033[37m Setting foreground color \033[40m-- \03
1. Restart the system, and hold down the SHIFT key to enter the Grub menu;2. Select the recovery mode recovery model;3. In recovery menu, select root drop to root shell prompt;4. Enter the passwd user name in the command line;If the successful appears to indicate the success of the modification;If it appears:Describes no permission changes.Workaround at this time:Re-mount the root/read-write mode, enter Mount-o rw,remount/Change the password again to
1. Log in with other usersOpen terminal, input: sudo gedit/usr/share/lightdm/lightdm.conf.d/50-ubuntu.confOr: sudo vim/etc/lightdm/lightdm.conf2. Add the following content[Seatdefaults]Greeter-session=unity-greeterUser-session=ubuntuGreeter-show-manual-login=trueAllow-guest=false3. Set the root user passwordsudo passwd root4, then you can log in with the root, but when logged in, the following error will appear:Error found when Loading/root/.profileSt
http://blog.csdn.net/lichangzai/article/details/393791531. Change the root passwordsudo passwd root2. Log in with a different account and modify the/etc/ssh/sshd_config with sudo nano:[Email protected]:~$ su-rootpassword:[email protected]:~# vi/etc/ssh/sshd_config3. Comment out #PermitRootLogin without-password, add permitrootlogin ye# authentication:logingracetime 120#permitrootlogin without-passwordpermitrootlogin yesStrictModes Yes4. Restart the SSH service[Email protected]:~# sudo service ss
Reference article address: www.linuxidc.com/Linux/2013-11/92236.htm1. Restart your computer2. Go to the Grub boot page, select Ubuntu Advanced Options, enter3. Select the menu with "Recover mode", enter4. You will see the Options page for recover menu5. Select "Root drop to a root shell prompt" option, enter6. Direct passwd Please enter "Mount-o REMOUNT,RW/" to make a remount so that you can then change the password with passwd.Ubuntu 14.04 forgot
Description: I for machine learning, the computer installed Ubuntu 16.04+tensorflow+cuda8.0+cudnn v5.1, the first time I installed the Cuda9.1,cudnn v7.1, but always will not succeed, and then changed to cuda8.0+ Cudnn v5.1, just put the environment according to the tutorial installed.
But later encountered the problem of boot cycle, look at the web said is: Nvidia drive, may be installed before the way Nvidia driver, installation OpenGL LED. the spec
1. For 12.04 vsftpd There are some bugs, recommended installation version Vsftpd_2.3.5-1ubuntu2ppa1_amd64.debApt-get Install Python-software-propertiesAdd-apt-repository ppa:thefrontiergroup/vsftpdApt-get UpdateApt-get Install VSFTPD2. Configure the virtual user, install the db5.1-util (corresponding to the system version)Apt-get-y Install Db5.1-util 3. Start the specific configuration cd/etc//bin/cp-rf vsftpd.conf vsftpd.conf.backup configuration f
VI /etc/passwdVI /etc/hostnameVI /etc/hostsReboot (restart)Create a new userUseradd skinglzw-m-s/bin/bashpasswd SKINGLZWThe newly created user cannot use the Sudo-s command (that is, you cannot get root privileges, you need to modify it as follows)chmod u+w/etc/sudoersVi/etc/sudoersRoot all= (All:all) All (this adds a row below)SKINGLZW all= (All) allThis article is from the "I am the program my biggest" blog, please be sure to keep this source http:/
Install the dependency package Gstreamer0.10-ffmpeg first:sudo add-apt-repository Ppa:mc3man/trusty-mediasudo apt-get updatesudo apt-get install Gstreamer0.10-ffmpegThen install DMusic and open the terminal to enter the following command:Udo Add-apt-repository PPA:NOOBSLAB/DEEPIN-SCsudo apt-get updatesudo apt-get install Deepin-music-playerInstall Baidu Music Plugin (Deepin music player):1, install Cython libwebkitgtk-dev python-dev git, open the terminal, enter the following command:sudo apt-ge
restricted universe
# Tsinghua University updates the server to update the server (the truly available source, CERNET user ):Deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ feisty main restricted universe multiverseDeb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ f
Ubuntu 14.04 with Chrome browser content display normal but tab display garbled
Ubuntu 14.04 installation mysq times wrong problem
Ubuntu 12.04 Create user failure how to solve
Ubuntu installation software prompts you not to open the lock file/var/lib/dpkg/lock
Resolve
[Email protected] wyb]#CatTishiuser.SH #!/bin/Bash #提示用户输入一个用户名, if present, displays user UID and shell information, otherwise, #则显示无此用户, prompts the user to enter again after the display is completed, and exits if quit ;Echo 'Input ' quit ' to quit' while : DoRead-P"Please Input a user:"Choice [-Z $choice] continue [["$choice"="quit"]] BreakID$choice >/dev/NUL
If Nginx + PHP-FPM combination is good, how to set the user group and user of PHP program, to ensure the security of program execution? If Nginx + PHP-FPM combination is good, how to set the user group and user of PHP program, to ensure the security of program execution?
Reply content:
If Nginx + PHP-FPM combination
No dead corners understanding Save settings user ID, Set User ID bit, valid user ID, actual user ID, dead corner Save settings
Recently, I encountered some problems when I understood how to save and set the user ID, but I found that I was not able to clarify this problem on
modified on disc when it is started.
Language: Setup is automatically set according to the default language of the Windows system, and you can modify the settings as needed.
Username: User name entered in Ubuntu, case sensitive.
Password: Passwords entered in Ubuntu, are case sensitive.
Setup is complete, click the Install button to s
Reprinted from http://terrychen.info/ubuntu-linux-beginners-guide-getting-to-know-and-work-with-ubuntu/In Ubuntu Linux Introduction (iv): Ubuntu Initial setup article, we have completed the basic configuration of Ubuntu, and now we will further learn some of the basic knowle
Ubuntu dual system installation tutorial and troubleshooting, ubuntu Dual SystemPreparations for dual-system installation
At least two USB flash drives are required. One is used as the ubuntu boot disk and the other is used as the windows 7 boot disk. The method can be rufus or UltraISO. We recommend the former. All images of the operating system are written into
Shell script: Determine whether a user or user group already exists/create a user or user group
Generally, as a deployment script for an application, the first task is to create a dedicated user and user group for the current app
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.