How to Restrict/disallowed
user to login in system
[root@server ~]#useradd
abc
[root@server ~]#passwd
abc
Note :Now
logout/restart machine.After creating nologin file only root can login in
system. Again if you want to allow user to login in system then delete nologin
file from root account.
Login with abc user
#####Thanks for Visiting on my blog, Have a good Luck !!#####
0 comments:
Post a Comment