image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #9  
Old July 30th, 2004, 11:26 AM
scruffy's Avatar
Notorious Olive Counter
 
Join Date: Dec 2000
Location: Soviet Canuckistan
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
scruffy is on a distinguished road
I suspect capitalization is important - denyusers is not the same as DenyUsers
__________________

What is the robbing of a bank compared to the founding of a bank?
-- Bertold Brecht
Reply With Quote
  #10  
Old July 30th, 2004, 04:52 PM
Registered User
 
Join Date: Oct 2002
Posts: 281
Thanks: 0
Thanked 0 Times in 0 Posts
pedz is on a distinguished road
The source code has "denyusers" in all lower case so my *guess* is that there is a conversion to all lowercase before the compare.
Reply With Quote
  #11  
Old August 1st, 2004, 05:12 PM
macidiot's Avatar
Registered User
 
Join Date: Jul 2001
Location: OH
Posts: 225
Thanks: 0
Thanked 0 Times in 0 Posts
macidiot is on a distinguished road
I've tried all the suggestions, allowusers with the usernames I would like to allow, and denyusers with just his. I've tried upper and lower case, but I can still ssh with that account. Is the format: "AllowUsers username1 username2" or am I missing something?
Reply With Quote
  #12  
Old August 1st, 2004, 05:19 PM
macidiot's Avatar
Registered User
 
Join Date: Jul 2001
Location: OH
Posts: 225
Thanks: 0
Thanked 0 Times in 0 Posts
macidiot is on a distinguished road
Quote:
Originally Posted by michaelsanford
The simplest way to accomplish this is to give him no shell (or more specifically, a null shell).
This did it for me, however it kills FTP, even though I did the second half of the instructions about adding /usr/bin/false to shells...

Reply With Quote
  #13  
Old August 1st, 2004, 07:16 PM
TommyWillB's Avatar
Registered User
 
Join Date: Mar 2001
Location: ol' Gay San Francisco
Posts: 2,016
Thanks: 0
Thanked 0 Times in 0 Posts
TommyWillB is on a distinguished road
This is a very good thread!

Someone should clean it up and make it a HOWTO thread...
__________________
TommyWillB
Intel iMac "early 2006" core duo
TommyWillB.com hosted on Mac OS X 10.5.x / Apache 2.2.x / PHP 5.x
Reply With Quote
Reply

Thread Tools

Posting 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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 10:17 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.