Use at the server console to prevent users from logging in.
disable login
Use this command to prevent users from logging in when you are making repairs, backing up files, or loading software.
Users already logged in aren't affected. However, a user who logs out can't log in again until you execute ENABLE LOGIN. See Section 1.53, ENABLE LOGIN.