03-27-2019
Do you have access / permission to netstat on server A?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Perl Guru....
I need to compare two diff file (file1.abc will locate in current server and file2.abc will locate in remote server), basically the script will look for match in both file and only will send out email if there is no match and also give me list of unmatch and dups as well.
So... (0 Replies)
Discussion started by: amir07
0 Replies
2. UNIX for Advanced & Expert Users
There's a user that opens various login sessions with a particular SOLARIS server at the same time - this locks the server thats tried to get logged into..
Kindly help on how to know the max limit of sessions a particular user can open with a particular server at the same time. AND, how to... (2 Replies)
Discussion started by: its.simron
2 Replies
3. Shell Programming and Scripting
I have been searching, and cannot find an answer for this. I am trying to find all files for a user, lets call him (test001), and I want to exclude a specific directory.
Here is the command I run, it finds all files:
find / -user test001
I get this result:
> find / -user test001 ... (4 Replies)
Discussion started by: steve2x4
4 Replies
4. Shell Programming and Scripting
Hi All,
I have a written a test script which retrieves the status of active and inactive sessions from oracle DB, but i am receiving error while executing.
My script is
filepath="/home/ocsg/scripts/db_session_report/current_session_report.txt"... (1 Reply)
Discussion started by: poweroflinux
1 Replies
5. Web Development
Hi
I have a solaris 9 OS with apache web server running on top of it. i want to know how many http connections are active at any point in time. (In other words how many users are accessing my website it at any moment of time)
How to get it..?
hit counters are not required...
----------... (0 Replies)
Discussion started by: aemunathan
0 Replies
6. Shell Programming and Scripting
Hi,
sorry if this is the wrong forum for this question but I couldnt spot another obvious forum for it.
I have a windows shortcut which opens up a saved session in putty. From this session I then ssh to another remote server. I was wondering is there a way that I can either edit my shortcut... (5 Replies)
Discussion started by: newb1000
5 Replies
7. UNIX for Dummies Questions & Answers
What kind of problems can be faced if any session which connects to unix server is open for longer time?
How to find out from how much time that session is idle? :) (2 Replies)
Discussion started by: anandgodse
2 Replies
8. Shell Programming and Scripting
#!/bin/bash
for digit in $(seq 1 10)
do
if ping -c1 -w2 192.168.1.$digit &> /dev/null
then
echo "192.168.1.$digit is UP"
else
echo "192.168.1.$digit is DOWN"
fi
done (3 Replies)
Discussion started by: fusetrips
3 Replies
9. Shell Programming and Scripting
Hi,
I am trying to complete my bash script in order to find which SSH servers on LAN are still active with the ssh keys, but i am frozen at this step:
#!/bin/bash
# LAN SSH KEYS DISCOVERY SCRIPT
</etc/passwd \
grep /bin/bash |
cut -d: -f6 |
sudo xargs -i -- sh -c '
&& cat... (11 Replies)
Discussion started by: syrius
11 Replies
LEARN ABOUT DEBIAN
ns_requestauthorize
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)