userdel:user* is currently used by process id

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: