[root@localhost ~]# cat > /etc/nologin << "end file"
> now mentenance time
> you don't login
> end file
[root@localhost ~]# cat /etc/nologin
now mentenance time
you don't login
[root@localhost ~]# ssh test@localhost
test@localhost's password: now mentenance time
you don't login
Permission denied, please try again.
|