[Ubuntu] solve the problem of error reporting when switching root with Su: authentication failure user authentication failure
Question:
Authentication failure occurs when Ubuntu uses Su to switch root. Authentication fails
Error reporting reason:
Because the Ubuntu system does not activate the root user by default, you need to activate it manually and then use the Su command
Solution:
Enter the following code to set the root password
sudo passwd root
Read More:
- Ubuntu Run Error: not syncing : VFS: Unable to mount root
- [Solved] Ubuntu 20.04 Error: curl: (23) Failure writing output to destination
- Linux changing password enter new UNIX password: passwd: authentication token manipulation error
- Linux Command Error: Redis (error) NOAUTH Authentication required
- [Solved] failed to start remount root and kernel file system
- [How to Solve] Too many authentication failures for xxxx_username
- [Solved] KingbaseES V8R3 Error: cluster.log ERROR: md5 authentication failed
- [Solved] RHEL 7 installs Oracle RAC 11.2.0.4, executes root.sh error ohasd: failed to start
- [Solved] Ubuntu Server 18.4 System /etc/sudoers: syntax error near line 32
- [Solved] ubuntu Boot Error: /dev/nume0n1p2:clean
- [Solved] Login with Ubuntu graphical interface, error sorry, that didn’t work.please try again
- [Solved] Error detected while processing /root/.vimrc: E492: Not an editor command: Plug ‘scrooloose/nerdtree’
- WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- VScode Error: extension failed XHR Failed (Ubuntu Virtual Machine)
- [Solved] Ubuntu18.04 Px4 (xtdrone) gazebo joint simulate error
- Ubuntu 20.04 Desktop Install sublime-text Error: “Certificate verification failed”
- How to Solve Xmind Install Error in Ubuntu System
- [Solved] Ubuntu 20.04 install MATLAB and toolbox permissions Error
- NVIDIA SMI error after Ubuntu 20.04 restart [How to Solve]
- Set the cursor of Ubuntu terminal to turn on automatic display