Home > OS >  Centos, please modify the root name, access card and 24 seconds
Centos, please modify the root name, access card and 24 seconds

Time:11-09

Centos7.6, modify the/etc/passwd and/etc/shadow in the root user name password (unchanged), then use visudo add new user name, restart after find new username login system or su will be in 24 seconds after losing the password card, the strace is below the entry card and 24 seconds

11:22:16. 514979 the recvmsg (3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="/org/freedesktop DBus \ 0, 0, 0, 2, 1 s and 0\24, 0, 0, 0"..., iov_len=146}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, the MSG_DONTWAIT | MSG_NOSIGNAL | MSG_CMSG_CLOEXEC)=146
11:22:16. 515024 the recvmsg (3, {msg_namelen=0}, the MSG_DONTWAIT | MSG_NOSIGNAL | MSG_CMSG_CLOEXEC)=1 EAGAIN (Resource temporarily unavailable)
11:22:16. 515068 ppoll ([{fd=3, events=POLLIN}], 1, 999860000} {tv_sec=24, tv_nsec=, NULL, 8)=0 (Timeout)
11:22:41. 520000 open ("/usr/share/locale/locale, alias ", O_RDONLY | O_CLOEXEC)=4
11:22:41. 520054 fstat (4, {st_mode=S_IFREG | 0644, st_size=2502,... })=0
11:22:41. 520087 mmap (NULL, 4096, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, 1, 0)=0 x7f1c7666e000
11:22:41. 520120 read (4, "# Locale name alias data base. \ n#"... , 4096)=2502

This ppoll ([{fd=3, events=POLLIN}] baidu less than what useful information... Hereby to ask you a great god!

Hosts have been added, a new virtual machine installed directly modified, so is this symptom

CodePudding user response:

Ok what root name change? System many rely on it,,,