I have just read about how to disable shell access for users in Ubuntu in this post for security reasons. Is it safe to disable shell access to all users listed in /etc/passwd
except the root:x:0:0
and another specific user, say tom:x:1000:1000
?
For example, if I disable shell for the default users coming with the installation of the operating system such as daemon
, bin
, sys
, sync
, games
, man
, lp
, mail
, news
, and uucp
(and many others not listed here), may this cause any issue?