The Ubuntu user name is not in the sudoers file and will be reported.
A new account www.bkjia.com is created. A message is displayed when sudo is executed today:
[Sudo] password for www.bkjia.com:Www.bkjia.com is not in the sudoers file. The incident will be reported.
Where can I report this? To explain this question, let's talk about sudo first.
The sudo command allows you to execute commands as root
Because ubuntu does not have a root user by default, although you can also use sudo to execute some root permissions for winter, but in case, I mean that sudo or some other systems and configuration files are broken. to install the sudo tool, you need the root permission. You need to wait for the tragedy. The first one is to add the root user!
Sudo passwd Root
Ubuntu: Modify user name and computer name 1. modify the User name: Switch to root and open the following two configuration files: vi/etc/passwd. Change the user name "xxx" to "cyrec, save and exit vi/etc/shadow and change "xxx" to "cyrec". After saving and restarting, the name becomes cyrec @ xxx-dest-top: 2. modify c
The first two days accidentally deleted the files under User directory (/HOME/XXX), and also use extundelete recovery. However, if you use Extundelete for recovery, umount the user directory. If home is not a separate mount for a device, it is not possible to umount the directory.It is better not to do anything else to avoid overwriting the deleted data. In order to continue to recover data with extundelete
It's OK to change the name directly, and then go back with a reboot.
Method One:Change the Chinese folder to the appropriate English folder, and then modify the configuration file ~/.config/user-dirs.dirsXdg_desktop_dir="$HOME/desktop"Xdg_download_dir="$HOME/downloads"Xdg_templates_dir="$HOME/templates"Xdg_publicshare_dir="$HOME/public"Xdg_documents_dir="$HOME/documents"Xdg_music_dir="$HOME/music"Xdg_pictures_dir="$HOME/pictures"Xdg_videos_dir="
/authorized_keys#或者Cat Mypublickey.pub >> Authorized_keyschmod 400/home/myuser/.ssh/authorized_keysUse of the UFW firewall#安装:sudo apt-get install UFWUFW Allow SSHUFW Allow HTTPUFW Allow HTTPSYou can also use the port to openUFW Allow 53Be sure to open the SSH port, if you are not the standard port, please remember to open, otherwise the consequences!UFW EnableTwo-factor authenticationOn the left side of the control panel of the bricklayer isInstalling Apachesudo apt-get install apache2Sudo/etc/
The user in the ubuntu cancel logon window displays the modified file/etc/mcm/TPD. schemas, which can be used to control the user list displayed on the logon page. Find this section: www.2cto.com Nobody, nobody4, noaccess, ipvs, pvm, rpm, nfsnobody, pcap, [do not want to addUser name displayed on the logon page]
BenArticleIt is built on an existing sound card driver that allows normal user logon to adjust the volume normally.
In ubuntu 10.04, pulseaudio is used by default to manage audio devices. pulseaudio is not allowed to run under the root user, which may cause security problems. Therefore, the system volume cannot be changed, and the voice preference is always "wai
I did not accidentally install eclipse.
Enter the correct user name and password for Ubuntu and then repeat the logon page.
Question:This is a question I found when I encountered this problem. I just referred to the operation in this article.
Problem:The logon interface loops. But cannot enter the desktop.
Cause:I am playing android. Install JDK 6. When setting the path, the same path is added to the fo
Background Introduction: after Ubuntu installation, the root user is locked by default, does not allow login, and does not allow "su" to root. This is more secure for desktop users, but the server can be set to allow Su to root, but not allow root users to log in directly. References:http://www.zxlm.cn/fh/thread-8061-1-1.htmlHttp://os.51cto.com/art/200709/56719.htm(also describes the use of root permission
First, get root user rightsOpen the Linux terminal command, entersudo passwd rootEnter new UNIX Password: (enter your password here)Retype new UNIX Password: (Determine the password you entered)Passwd:password updated successfullyLater, if you want to get root privileges, just do the following:Su RootPassword: (Enter the password you set above here)If you want to disable the root account again,Then you can execute sudo passwd-l rootSecond, open the Li
SSH server, you can access the remote server through the SSH protocol instead of Telnet and FTP. However, Ubuntu by default does not enable root and does not allow root remote logins. So you need to enable the root user first
1. Enable root User: sudo passwd root//password is enabled after it has been modified.
2. Install OpenSSH server:
Install OpenSSH server
Nbsp; I have discussed some pinyin input methods over the past two days. I will make a small summary and welcome to discuss them. At present, the default input platform for Ubuntu is ibus, and ibus-pinyin is released with the CD. the default five-stroke input method is ibus-table-wubi, and the default input method for traditional Chinese is ibus-chewing. I only use fight
I have discussed some pinyin input methods over the past two days. I would like t
In the latest update, Ubuntu added a test extension "Multisearch" (SEE) to Firefox to improve the default behavior and search functions of new browser labels, other extended features include "collect usage data" and "generate revenue ". However, the problem is that the installation of the extension does not remind users of potential privacy issues. In changelog, the role of the extension is also omitted. Many users complained about
During work, you often need to add users to Ubuntu, configure the user's initial password, configure the group, and use scripts to quickly implement this task:
#!/bin/bashPATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/ucb:/usr/local/binGROUP_NAME=devsUSER_CREATED=$*USER_PASSWD=ubuntuif["$1"!=""];thenecho"CreateUser:$USER_CREATED"elseecho"Pleaseinputusername."exit1figroupadd$GROUP_NAMEif[$(id-u)-eq0];thenforUSER_VARin$USER_CREATEDdoid$USER_VAR>/dev/null2>1if[
1. Switch between command mode and graphic mode
CTRL + ALT + (F1 ~ F6) Go to the command line
CTRL + ALT + F7 back to graphic interface
2. Disable automatic locking of ubuntu
Run the following command: System-preferences-screemsaver to cancel the check box of the bottom lock.
3. Reset the root password.
$ Sudo passwd root # Enter the new password twice as prompted and confirm it.
4. Terminal support for Chinese
If you select Chinese characters when in
Follow these steps:
1. move up and down at startup, select (not press Enter) a repair mode similar to this "Ubuntu-x.x.xx.xx-generic (recovery mode), and then press E.
2, select a kernel line in the Level 2 menu, such as: "kernel/boot/vmlinux-x.x.xx-xx-generic root = UUID = ae424e-bod0-475c-2342433 Ro single" Press e to edit.
3. Modify the startup parameter, change Ro single to RW single init =/bin/bash, and press Enter.
Example: "kernel/boot/vmli
The virtual user configuration of vsftpd in Ubuntu-Linux Enterprise Application-Linux server application information. The following is a detailed description. # Vsftpd. conf configuration file
# The system username used for virtual users is vftp
# The db_load version of the frequently-generated db file is 4.4. It is not required to use 3 or a lower version as rumored.
Listen = YES
Anonymous_enable = N
$ Sudo passwd
Password: original password
Enter new Unix Password: New Password
Retype new Unix Password: New Password
Passwd: the password is successfully updated.
$ Gksu/usr/sbin/gdmsetup
(Or use the desktop menu: system> System Management> logon window)
Click the "Security" option page and select "Allow Local Administrator Logon ".
Log out and use root to log on.
OK!
Ubuntu can log on without entering a password:
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.