centos 에서 사용자 비밀번호 변경 기간 설정.
[root@localhost ~]# vi /etc/login.defs
[root@localhost ~]# vi /etc/login.defs
PASS_MIN_DAYS 1 ## 패스워드 변경 없이 사용 가능한 최소 기간
PASS_MIN_LEN 8 ## 최소 길이
PASS_WARN_AGE 7 ## 만료되기 전 알림 주기 ( -7 )
$ sudo tail /etc/sudoers
[sudo] password for devtainer:
# %wheel ALL=(ALL) NOPASSWD: ALL
## Allows members of the users group to mount and unmount the
## cdrom as root
# %users ALL=/sbin/mount /mnt/cdrom, /sbin/umount /mnt/cdrom
## Allows members of the users group to shutdown this system
# %users localhost=/sbin/shutdown -h now
hahaha ALL=(ALL) ALLsudo: /etc/sudoers is mode 0640, should be 0440sudo: no valid sudoers sources found, quitting