06-06-2002
Multiple protected directories
This may have a simple answer, but I have not been able to find it!
I need to have 20 protected directories. Each directory having a unique user with access.
I need to have a main link on the web page that requests the username and password. Once entered it eill send the user to their appropriate directory.
I currently have the directories set up and access set up via .htaccess, but I am not sure how to make the login send the user to their folder.
Main Directory - enter via web browser you are asked for username and login
Directory 1 - user 1 -when user 1 is entered at login they are sent to this derectory
Directory 2 - user 2 -when user 2 is entered at login they are sent to this derectory
etc...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi -
I am new to unix scripts...I need to move several directories on multiple servers to new directories. (0 Replies)
Discussion started by: mackdaddy07
0 Replies
2. Shell Programming and Scripting
Hi,
I am using ls command as below to get the list of *.edi files from 2 different subdirectories as1 & as2:
/ntekupal/test$ ls ./as1/*.edi ./as2/*.edi
It is giving me list of edi files in these folders as below :
./as1/6df667.edi ./as2/823ssd3.edi
Now my requirement is to just... (8 Replies)
Discussion started by: ntekupal
8 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am using ls command as below to get the list of *.edi files from 2 different subdirectories as1 & as2:
/ntekupal/test$ ls ./as1/*.edi ./as2/*.edi
It is giving me list of edi files in these folders as below :
./as1/6df667.edi ./as2/823ssd3.edi
Now my requirement is to just get... (3 Replies)
Discussion started by: ntekupal
3 Replies
4. Shell Programming and Scripting
Hi ,
I 'm trying to check if multiple directories exist on a server, if not create the missing ones and print " creating missing directory.
how to write this in a simple script, I have made my code complex
if ; then
taskStatus="Schema extract directory exists, checking if SQL,Count and... (7 Replies)
Discussion started by: ramky79
7 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am facing the below problem
I have a list of number to be searched(around 1000) files resideing in multiple directories as i dont know where it resides in. for example
search string is like (abc)123456
please help. very urgent
Thanks a lot
Uma (3 Replies)
Discussion started by: umapearl
3 Replies
6. UNIX for Dummies Questions & Answers
I am trying to unzip ~150 files on a SUN server in Unix via a telnet program (PuTTy), so I am restricted (I believe) to single-line command functions. All of the files are password protected, and each one contains three files. Is there a way to automate the process? I have tried 7z, but that only... (0 Replies)
Discussion started by: Davman
0 Replies
7. Shell Programming and Scripting
I have multiple files that starts as TRADE_LOG spread across multiple folders in the given structure..
./dir1/1/TRADE_LOG*.gz
./dir2/10/TRADE_LOG*.gz
./dir11/12/TRADE_LOG*.gz
./dir12/13/TRADE_LOG*.gz
when I do ftp uisng mput from the "." dir I am getting the below given error
mput... (1 Reply)
Discussion started by: prasperl
1 Replies
8. Shell Programming and Scripting
Hi,
I have a directory /home/datasets/ which contains a bunch (720) of subdirectories called hour_1/ hour_2/ etc..etc.. in each of these there is a single text file called (hour_1.txt in hour_1/ , hour_2.txt for hour_2/ etc..etc..) and i would like to do some text processing in them.
Each of... (20 Replies)
Discussion started by: amarn
20 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Very unfamiliar with unix/linux stuff. Our admin is on vacation so, need help very quickly.
I have directories (eg 40001, 40002, etc) that each have one subdirectory (01).
Each subdir 01 has multiple subdirs (001, 002, 003, etc). They are same in each dir.
I need to keep the top and... (7 Replies)
Discussion started by: kkouraus1
7 Replies
10. Programming
Hi Friends,
need to copy from server1 to server2 below name folder with modification date
server1
----------------
Created date Name
19Aug folder1 (contain sub directories also)
20Aug folder2 (contain sub directories also)
21Aug folder2 (contain sub... (0 Replies)
Discussion started by: rabindratech
0 Replies
LEARN ABOUT DEBIAN
dpns-rm
DPNS-RM(1) DPNS User Commands DPNS-RM(1)
NAME
dpns-rm - remove DPNS files or directories in the name server
SYNOPSIS
dpns-rm [-f] [-i] filename...
dpns-rm [-f] [-i] -r dirname...
DESCRIPTION
dpns-rm removes DPNS files or directories in the name server. For directories either -r or -R must be present. For regular files, it
calls dpns_unlink while for directories, it calls dpns_rmdir.
This requires write permission in the parent directory and the file itself. If write permission on an entry is denied, the standard input
is a terminal and the -f option is not given, the prompt "override write protection" appears and if the response is not y, the entry is not
deleted. Entries directly under a protected directory are never deleted.
path specifies the DPNS pathname. If path does not start with /, it is prefixed by the content of the DPNS_HOME environment variable.
OPTIONS
The following options are supported:
-f Do not give an error message if the file/directory does not exist.
-i Request acknowledge before removing each individual entry.
-R Recursive mode (equivalent to -r).
-r Recursive mode.
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed.
SEE ALSO
Castor_limits(4), dpns_rmdir(3), dpns_unlink(3)
AUTHOR
LCG Grid Deployment Team
DPNS
$Date: 2002/10/18 11:57:00 $ DPNS-RM(1)