Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Programming \ Ubuntu root user profiles     - Linux System Getting Started Learning: DeVeDe installed on Linux to create a video DVD (Linux)

- Use Markdown editor for document work under Linux (Linux)

- Installation Yarock 1.1.4 Music Player in Ubuntu (Linux)

- Analysis: Little Notebook facing a major security threat secure online (Linux)

- Ubuntu 12.04 installation NVIDIA GTX750 graphics driver (Linux)

- To configure linux transparent firewall (Linux)

- CentOS 7 open ports (Linux)

- PHP generates a random password several ways (Programming)

- MySQL how to export files with the date format (Database)

- Seven Steps to Help Google Chrome Speed - (Linux)

- Single-node Hadoop environment to build (Server)

- Linux RPM (Linux)

- JBPM6 Tutorial - Fast Fun JBPM table (Linux)

- Installation Flow N Play- interface stylized video player on Ubuntu (Linux)

- Linux server is how to do after the invasion (Linux)

- Simple comparison of MySQL and Oracle in a sql analytical details (Database)

- Docker Build a Java compiler environment (Linux)

- The most common and most effective security settings under linux (Linux)

- Atlassian Linux Shell Scripting the confluence remote backup methods (Linux)

- VirtualBox 4.3 Can not open a new task for a virtual computer solution (Linux)

  Ubuntu root user profiles
  Add Date : 2018-11-21      
  In Ubuntu user management using the Debian way, you want to use a terminal or console command after sudo then if we need to use root privileges, and then enter your password and then can be realized.

Ubuntu 8.10 is the default graphical interface does not allow root user login, to only use root user, first open the terminal and type sudo passwd root to set the root user's password, account locked command sudo passwd -l, open account is sudo passwd -u ( lock had previously required, otherwise invalid).

sudo passwd root # prompt lose twice by new password and confirm.
abctest @ abctest-laptop: ~ $ sudo passwd root
Enter new UNIX password:
Re-enter the new UNIX password:
passwd: password updated successfully
abctest @ abctest-laptop: ~ $

Then click on the System - System Management - Login Window menu and switch to the Security tab, and then check under "Allow local administrator login" option.

Through the above two settings, you can now use the root account landing Ubuntu's graphical interface, if you need to disable root account login graphical interface, sudo passwd -l root, or remove the System - System Management - Login Window menu and switch to security tab, and then remove the check under the "allow local administrator login" option.

It is strongly recommended not to use the root account directly, just like Windows Admin * Do not use the same account.

If the account is locked, there is no way to use ssh login or su, sudo -u but can still be used, and the user's files are still there, the owner and other information are displayed or the user, and Windows in the lock on the same account perhaps this time you do not want to let the user log in, or for other reasons. Generally used in user services used, such as apache will use the www-data account, mysql using mysql account, vsftp use ftp accounts, etc., in order to prevent these accounts than people with landing server will lock the account. Of course, you can open these accounts for convenience.

After Ubuntu 8.04 by root before landing a graphical interface, the default interface is in English interface. But when I use 8.10 is Chinese environment, that's great.
- JavaScript event handling Detailed (Programming)
- Java code JIT compiler-friendly Mody (Programming)
- Linux System Getting Started Learning: Using the Linux command line detected DVD burner name and write speeds (Linux)
- To create a full command line Android Build System (Linux)
- Shell Programming Regular Expressions (Programming)
- MySQL Basic tutorial: About varchar (N) (Database)
- Linux kernel network subsystem analysis (Programming)
- Go powerful development server simple example (Server)
- Ubuntu Learning Advanced article - to teach you to further enhance system security (Linux)
- To access an Oracle database using Instant Client (Database)
- Setting grep Highlight Matches (Linux)
- OpenNMS compile under Linux (Server)
- Linux Platform Oracle 11g Single Instance Installation Deployment Configuration Quick Reference (Database)
- Two alert log ORA Errors (Database)
- OpenSSH server configuration file for each Common Definition (Server)
- C ++ Supplements - Smart Pointers (Programming)
- To install PXE + Kickstart under CentOS 6.x operating system (Linux)
- GitLab Installation Guide -Ubuntu 14.04 LTS (Server)
- Various sorting algorithms implemented in Python (Programming)
- Standardized UNIX command-line tool (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.