Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Ubuntu is not in the sudoers file problem solving     - Linux System Getting Started Tutorial: How to update outdated version of Ubuntu (Linux)

- How to cool down your Ubuntu system (Linux)

- How to manage and use Logical Volume Management LVM in Ubuntu (Linux)

- Distributed File System using MogileFS (Linux)

- Oracle 11g maintenance partitions (eight) - Renaming Partitions (Database)

- MySQL Online DDL tools of pt-online-schema-change (Database)

- File compression and packaging commands under Linux (Linux)

- Linux startup and logon security settings (Linux)

- MySQL binlog automatic cleanup script (Database)

- Ubuntu iptables prevent IP attacks (Linux)

- Nagios (centreon) monitoring Linux Log (Server)

- Python closure and function objects (Programming)

- Service Discovery: Zookeeper vs etcd vs Consul (Server)

- Learning the Linux powerful network management capabilities (Linux)

- Single list summarizes the basic operation (Programming)

- Explore Android SQLite3 multithreading (Programming)

- Sshuttle A VPN-based transparent proxy that uses ssh (Server)

- Java Set and List in the relationship and difference (Programming)

- Debian 8 (amd64) installation deployment Memcached management tools MemAdmin (Server)

- Qt for file splitting and fusion gadgets (Programming)

  Ubuntu is not in the sudoers file problem solving
  Add Date : 2018-11-21      
  In Ubuntu12.04, when using sudo apt-get install XXX, suddenly jumped username is not in the sudoers file problem

Then I check the username of this type, it really is a standard user instead of an administrator user

Solve this problem at least two ways:

one. System Settings -> User Accounts -> Click Unlock -> Enter the root password -> Change AccountType (user type) as the Administrator (Administrator) -> Restart


root user, edit / etc / sudoers permissions to 640 (chmod 640 / etc / sudoers) -> vim / etc / sudoers -> find the root ALL = (ALL: ALL) ALL -> Add

username ALL = (ALL: ALL) ALL -> Modify / etc / sudoers permissions to 440 (chmod 440 / etc / sudoers) -> Restart

In this case the two methods I know, if other methods, please leave a message to announce the great God.
- Delete specific files using bash directory under Linux (Linux)
- According to the national position on how to block traffic in Linux (Server)
- Modifying the system registry protection server security (Linux)
- Virt Related Command Summary (Linux)
- Sort sql MySQL 5.6 upgrade slow Cause Analysis (Database)
- GitLab Guide installation under Ubuntu 14.04 (Server)
- Linux kernel TCP / IP parameters analysis and tuning (Linux)
- Getting Started with Linux: Learn how to install and access CentOS 7 Remote Desktop on a VPS (Server)
- Proxmox VE implement KVM OpenVZ virtualization cloud computing (Server)
- Android shutdown (reboot) process (Programming)
- PHP generates a random password several ways (Programming)
- Linux operation and maintenance of the actual file system, file links (Linux)
- Change CentOS 7 NIC name eno16777736 to eth0 (Linux)
- Android studio multi-channel ultra-compact version of the package (Programming)
- Detailed PHP code optimization [section] (explain reasons) (Programming)
- MacBook Air install Ubuntu dual system (Linux)
- Installing PHP Memcache extension under Linux (Server)
- Easily create RPM packages using the FPM (Linux)
- CentOS NAT iptables (Linux)
- Basic Operation Linux files and directories (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.