Usually you must use root privileges in the newly installed CentOS before you can switch to the root to execute. Not like ubuntu comes with sudo function. But sudo this function can bring great convenience to our operation.
If implemented? I found some resources on the Internet, probably the following steps: (1) first switch to the root user > su root
(2) modify the read and write permissions of /etc/sudoers Usually /etc/sudoers read and write Permissions are: -r--r-----. 1 root root 4023 Dec 28 22:59 /etc/sudoers So we have to change it to writable: > chmod 0640 /etc/sudoers
(3) Modify the contents of /etc/sudoers Find the line "<;root ALL=(ALL) ALL”, add a line after it: <account name> ALL=(ALL) ALL Then save the changes.
(4) Modify the file's properties to -r--r----- If you do not restore, the modified memory will not take effect. > chmod 0440 /etc/sudoers
Sell account, re-login is OK.
Computer store news: Do you remember that Steam is ready to host? Now there is new news: this hardwa
Download Compile and install is very simple, several common dependencies must be installed first, so
At present, many schools have built campus networks and connected to the Internet, but there are so
Today, I have brought the steps of adding static routes for Linux, I hope to help my friends! 1. Add
Ubuntu update software center can not open the solution
Ten Linux operating system security management skills experience summary
Linux terminal terminal commonly used shortcuts
Linux Shell learning: uniq command usage method introduction
How to start and shut down Linux system
Under Linux, the CPU usage of C language is
The difference between linux system calls and library function calls
Linux operating system Embedded DVR stability is guaranteed
Linux Mint, Ubuntu and Red Hat comparisons
Windows7 changes the welcome interface skills
How to turn off touch screen in Win7
What if the win7 system cannot enter the safe mode?
How to roll back Win7/Win8.1 system after upgrading Win10 official version
Win8 install Win7 dual system graphic tutorial
Win10 sound suddenly big and small how to do win10 sound suddenly big and small solution
How to set up an application that can access calendars in Win10
How to get Win8 Developer License
Specific tutorial for recording screen video
Microsoft optimized rendering display mode to the graphics card to make Windows 7 faster