Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: A fix for users disappearing from the login window' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: A fix for users disappearing from the login window
Authored by: magnamous on Aug 01, '05 04:13:58AM
I've actually been playing with that method in NetInfo on 10.4 this evening, and it doesn't seem to work any more. I had one user's info set like this:

shell /bin/bash
uid 504

I changed it to:

shell /bin/bash
uid 400

But it didn't seem to produce the desired effect (that is, it was still visible in the Login Window). Then I changed it to this:

shell /usr/bin/false
uid 400

When I went to the login window, that user had disappeared from the list. And then I changed it to this:

shell /usr/bin/false
uid 504

Which also worked. However, when I changed it to this:

shell /sbin/nologin
uid 504

The user re-appeared in the Login Window list.

I would prefer to be able to use /sbin/nologin because of the error message it gives, but then the user is visible in the list. I wish there was a way to have my cake and eat it too: I want /sbin/nologin as the shell, but I want to be able to set whether the user is visible in the list or not independently from the shell variable. :P

[ Reply to This | # ]