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: mdzorn on Jul 29, '05 11:38:38AM
This is almost certainly the desired behavior: setting the shell to
/usr/bin/false
is the standard Unix way to prevent login from an account and is the shell set for users nobody, daemon, lp, postfix, www, and so forth. If you don't want to have people login into these accounts, you certainly don't want them to show up in FastUserSwitching.

My guess is that you made the change in NetInfo that might have been ignored in the past. With the recent upgrade some of that NetInfo behavior might have changed, causing the user names to disappear from your list.

[ Reply to This | # ]

10.4: A fix for users disappearing from the login window
Authored by: boredzo on Jul 29, '05 12:18:50PM

This is almost certainly the desired behavior: setting the shell to

/usr/bin/false

is the standard Unix way to prevent login from an account…

or /sbin/nologin. that one gives you a nice error message when you do console login.



[ Reply to This | # ]
10.4: A fix for users disappearing from the login window
Authored by: magnamous on Jul 29, '05 06:14:42PM
This is almost certainly the desired behavior: setting the shell to /usr/bin/false is the standard Unix way to prevent login from an account and is the shell set for users nobody, daemon, lp, postfix, www, and so forth. If you don't want to have people login into these accounts, you certainly don't want them to show up in FastUserSwitching.
My goal wasn't to disable these accounts completely - just their access to the shell environment. I took my cue from a comment in this hint (search for /usr/bin/false), which seems to suggest that you can do just that. I made that change to several accounts on my machine using NetInfo, and it worked as expected. I made the changes, logged into each account, and tried opening the Terminal. Each time it loaded the false shell.
My guess is that you made the change in NetInfo that might have been ignored in the past. With the recent upgrade some of that NetInfo behavior might have changed, causing the user names to disappear from your list.
I'm sorry - I don't quite understand what you're saying. Would you mind rephrasing it?

[ Reply to This | # ]
10.4: A fix for users disappearing from the login window
Authored by: Steff-X on Jul 30, '05 09:01:17AM

Why don't you simply restrict the use of unwanted applications in System Preferences ?

[ Reply to This | # ]

10.4: A fix for users disappearing from the login window
Authored by: silentaccord on Jul 30, '05 10:21:28AM

/sbin/nologin is the proper way to disable the shell in netinfo. If you only disable terminal in system prefs, the account can still be accessed via ssh.



[ Reply to This | # ]