|
|
|
01-15-2002, 03:30 AM
|
Postid: 60196
|
|
Registered User
Join Date: Apr 2000
Location: San Francisco, CA
Posts: 1,935
|
List of directories with passwords?
I'm wondering if there is some way to see an overview of which directories I have placed passwords. I noticed that I have a few "extra" passwords, when I go to password protect a directory, there are a few extra choices of username/passwords than I am actvely using. Yet, I don't know what directories I put them in...
Does this make any sense?
Would be cool if there was an additional feature in the CNC to list what directories have password protection on.
|
|
|
01-15-2002, 04:16 AM
|
Postid: 60197
|
|
Developer
Join Date: Nov 2000
Location: The Netherlands
Posts: 2,212
|
I think I know what you mean. You want a list of all .htaccess files and whether or not it has user xyz listed in it.
Well, on the command-line it's not difficult to find that out. Go to your www directory and type;
find . -name ".htaccess"
This gives you a list of all your .htaccess files.
type
find . -name ".htaccess" | xargs grep xyz
This lists the .htaccess files that have the string xyz in it.
A list of all username+passwords (encrypted) can be found in /big/dom/xdomain/CNC_protect/.passwd
Arthur
|
|
|
01-15-2002, 04:40 AM
|
Postid: 60198
|
|
Registered User
Join Date: Apr 2000
Location: San Francisco, CA
Posts: 1,935
|
Thank you Arthur!
I'll try that. But so far, the SSH (Telnet) in the control panel doesn't launch for me. I don't think I've tried it until today... since the upgrade to CNC 3.0, that is.
I use telnet so rarely, that it is nice for me to use the cnc for it. I'm wondering if it is a mac related issue? I never had this problem before the new CNC.
hmm. Seeing if i have some odd telnet application laying around....
|
|
|
01-15-2002, 04:50 AM
|
Postid: 60199
|
|
Developer
Join Date: Nov 2000
Location: The Netherlands
Posts: 2,212
|
Evie, give MacSSH a whirl. Or try BetterTelnet. Both are free.
I'm no Mac user, so I can't comment on how good/bad they are, but I like the price
Found another one MacTelnet
And why the ssh client in your CNC isn't work, I don't know. You probably don't have Java installed, or your Java version is too old. The old telnet applet was less picky it seems.
btw, I hardly ever use the CNC, but my compliments to FQ and in particular Justin for a job very well done.
|
|
|
01-15-2002, 07:43 AM
|
Postid: 60204
|
|
Visitor
Join Date: Jan 1999
Location: Kissimmee, FL
Posts: 3,672
|
The CNC SSH applet requires Java 1.2 or higher I believe. It has a few more requirements than the old telnet applet did, as it is quite a bit more functional (mostly that it uses encryption). Since we strongly recommend using SSH instead of plain-text telnet, we thought it best to offer an SSH client as part of the CNC.
With protected directories, we may be able to add a special folder icon with a padlock to show that it is a protected directory, but digging through all directories recursively could become quite heavy (some accounts have a lot of directories)... but the suggestion is noted for possible expansion later
Thanks for the compliments on the CNC 
|
|
|
01-15-2002, 04:38 PM
|
Postid: 60234
|
|
Visitor
Join Date: Jan 1999
Location: Kissimmee, FL
Posts: 3,672
|
The CNC has been updated, and password-protected folders should show a padlock-on-folder icon. Note that this only applies to directories protected from within the CNC.
Hope this helps 
|
|
|
01-15-2002, 04:55 PM
|
Postid: 60236
|
|
Site Owner
Join Date: Nov 1999
Location: oak park, illinois * usa
Posts: 218
|
too cool!
way to go justin.
julie
jak graphic solutions, inc.
|
|
|
01-15-2002, 05:02 PM
|
Postid: 60237
|
|
Registered User
Join Date: Apr 2000
Location: San Francisco, CA
Posts: 1,935
|
That rocks.  Thank you.
I actually love my web hosting company.
So, one step further: you know when you are setting up passwords, is there some way to actually list the directories that are CNC protected, along with the username/passwords associated with it? (for down the line...)
Thanks
|
|
|
01-15-2002, 05:31 PM
|
Postid: 60244
|
|
Visitor
Join Date: Jan 1999
Location: Kissimmee, FL
Posts: 3,672
|
That is where it gets more complicated. In order to do that, the CNC would have to recurse into every directory in your tree, which (as I mentioned earlier) could become quite heavy for some accounts.
This is something I'm working on a solution for, however, as I personally agree that it would be nice to have. In my testing on the new CNC, I protected a great number of directories, and it does become difficult to manage after a while.
|
|
|
01-15-2002, 05:45 PM
|
Postid: 60252
|
|
Registered User
Join Date: Apr 2000
Location: San Francisco, CA
Posts: 1,935
|
Thanks Justin,
What you said makes sense. 
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 02:19 AM.
|
| |
|
|
|