Unix and Linux Discussions Tagged with permission denied |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
9,962 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
5,819 |
Shell Programming and Scripting |
|
|
|
12 |
4,001 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
9,971 |
Ubuntu |
|
|
|
7 |
42,011 |
OS X (Apple) |
|
|
|
3 |
7,077 |
UNIX for Advanced & Expert Users |
|
|
|
8 |
3,794 |
Shell Programming and Scripting |
|
|
|
1 |
6,172 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,066 |
Windows & DOS: Issues & Discussions |
|
|
|
4 |
17,871 |
Solaris |
|
|
|
1 |
2,191 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
12,781 |
Shell Programming and Scripting |
|
|
|
0 |
9,576 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
12,265 |
Programming |
|
|
|
9 |
17,607 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,627 |
Solaris |
|
|
|
2 |
11,694 |
OS X (Apple) |
|
|
|
1 |
9,032 |
AIX |
|
|
|
12 |
27,721 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,845 |
HP-UX |
|
|
|
6 |
55,604 |
AIX |
|
|
|
1 |
4,944 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
11,023 |
Ubuntu |
|
|
|
1 |
8,480 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
10,366 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
9,478 |
Shell Programming and Scripting |
|
|
|
2 |
36,695 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,746 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
48,168 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
9,873 |
Filesystems, Disks and Memory |
|
|
|
8 |
6,729 |
IP Networking |
|
|
|
1 |
9,154 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,491 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
13,720 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,859 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
5,822 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
12,893 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
12,979 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
32,526 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,761 |
UNIX for Dummies Questions & Answers |
ns_requestauthorize(3aolserver) AOLserver Built-In Commands ns_requestauthorize(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
ns_requestauthorize - commands
SYNOPSIS
ns_requestauthorize option ?arg arg ...?
_________________________________________________________________
DESCRIPTION
ns_requestauthorize method URL authuser authpassword ?ipaddr?
Ask the server to check permissions using nsperm. This function does the same permission check that the AOLserver does before serving a
URL. If the nsperm module is loaded, the algorithm is as follows.
1. If the authuser is "nsadmin", the password is correct, and the IP address of the client is allowed nsadmin access, then access is autho-
rized.
2. Find the relevant permission record. If an exact match for the method and URL combination is not found, the end of the URL is pared down
until a match is found. For example, if there is no match for `/products/cereals/raisin_bran.html,' then the server looks for a permis-
sion record for the URL `/products/cereals.' If that permission record is specified as "Exact URL match is NOT required", then that per-
mission record is used.
By default, the server comes with a row that says GET on `/' is open to the world. If no relevant permission record is found, access is
denied (forbidden).
1. If the authuser is in the "Allow Users" list, access is permitted. If the authuser is a member of a group in the "Allow Groups" list and
not in the "Deny Users" list, access is permitted.
2. If the host is in the "Hosts to allow" list, access is permitted. If the host is in the "Hosts to deny" list, access is denied.
3. If the request does not come in with authorization data, access is denied.
4. The user and password are verified. If there is no password specified in the database, any password is accepted.
5. Otherwise, access is denied.
Return Values:
The following values can be returned by ns_requestauthorize.
OK The user has permission to execute this URL and method.
DENIED The user does not have permission to execute this URL and method.
FORBIDDEN There is no possible user/password/IP Address combination that would give authorization.
ERROR There was an error.
SEE ALSO
ns_passwordcheck, ns_crypt
KEYWORDS
AOLserver 4.0 ns_requestauthorize(3aolserver)