Problem solving
#vipw
Find the user you created before and delete the line with DD (remember to save: WQ or: x).. After that
#vipw -s
Find the group to which the user belongs, and then do DD (remember to save: WQ or: x)
Why vipw – S?There is only one reason. We must ensure the consistency of data, otherwise it may cause system crash or some inexplicable problems
command explanation:
# vipw –help
usage: vipw [option]
Options:
– G, – group edit group database
– H, – help display this help information and launch
– P, – passwd edit passwd database
– Q, – quiet mode
– R, – root root root_ Dir chroot to the directory
– s, – Shadow edit shadow or gshadow database
Similar Posts:
- [Solved] passwd: Authentication token manipulation error
- Solutions to Ubuntu forgetting password and root password
- Laravel uses group by to report errors [How to Solve]
- Mysql Error: 1140 – In aggregated query without GROUP BY, expression #2 of SELECT list contains nonaggregated column ‘a.store’; this is incompatible with sql_mode=only_full_group_by
- Mysqldump backup problems got error: 1045, error 1045 (28000), got error: 1449
- ERROR 1044 (42000): Access denied for user ‘root’@’localhost’ to database ‘in…
- ERROR: [pool www] cannot get uid for user ‘localhost.localdomain’ [Solved]
- [Solved] MySQL Error: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre
- Setting root password after installation of Ubuntu 20.04 LTS
- [Solved] Sonar6.7.2 startup error: java.lang.RuntimeException: can not run elasticsearch as root sonar.log