The short answer is a simple "No". Linux has no mechanism for a hidden user.
UNIX systems cannot have hidden users themselves, however you can use a "outside" naming source (like NIS or a Windows AD server), in which case you may be able to hide the presence of other users from current users.
Linux (aka: UNIX in this instance) keeps ALL local usernames in the file /etc/passwd (note: passwords are no longer stored in this file -- at least not usually). This file is accessed whenever a user does virtually anything similar to an ' ls -l" -- as it is the only "database" for mapping userIDs to userNames. As a result, it MUST be world-readable. (This is why passwords were moved OUT of this file into /etc/shadow decades ago).
I hope this helps....
Dan
IT4SOHO
Main Topics
Browse All Topics





by: legolasthehansyPosted on 2009-11-06 at 09:48:26ID: 25761274
I don't think this is possible.. You can restrict users on application usage/restrict login to certain servers and the like..