Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Disable remote login of user

Disable remote login of user
Thread Tools
Dedicated MacNNer
Join Date: Oct 2001
Location: California
Status: Offline
Reply With Quote
Mar 24, 2007, 02:30 PM
I have two accounts on my mac. One admin for me, and one regular for my wife. But she hates having to enter a password when she logs in or switches user, so I removed her password. But this makes me nervous because we are on wireless in the city and anyone who may gain access to the wireless network could gain access to her account without a password. I have the network encrypted with WPA2, but still it makes me nervous. I'm wondering if there is a way to disable remote login of her user.
Or am I just being paranoid?
Senior User
Join Date: Feb 2004
Location: Lost in a "plus" world
Status: Offline
Reply With Quote
Mar 24, 2007, 09:32 PM
Edit /etc/sshd_config and add the line:

AllowUsers <Username>
Where <Username> is your account's shortname. Separate multiple usernames with a space.
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Privacy Policy
All times are GMT -4. The time now is 08:19 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,