07-17-2007
give user permission on specific directory in solaris
dear all
does any one give any user write permission using access control list or another way to solve this problem
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
How can i give permission for a specific user ( eg. admin ) ?
I tried with chmod admin+r prog.sh
which doesnt work.
Is there any way i can specify a user's name and give the permission?
Thanks in advance.
Saneesh Joseph. (1 Reply)
Discussion started by: saneeshjose
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
In a Unix Server when i 'su' to my name and type in crontab it says " You are not authorised......".
Pls suggest what to do? How do i give myself permission so that I can schedule a cron. (2 Replies)
Discussion started by: debu
2 Replies
3. UNIX for Dummies Questions & Answers
hello,
I would like to grant full access to a directory which is owned by root and the web application that created it. I have though of adding the permission to the whole world, but for security reason I would like to grant it to one more user.
I have tried this 'chmod -U newUser+wrx... (2 Replies)
Discussion started by: run123
2 Replies
4. Solaris
I need to create a user account for a developer that will allow him rwx access to all resources in a directory. How can I do that?
Thanks (5 Replies)
Discussion started by: gsander
5 Replies
5. Shell Programming and Scripting
Hi,
The requirement is like,
the program needs 2 argument one is user_id and second one is directory path. My script will check if that user_id has write access to the directory path. The directory path may be in any file system like AFS or NFS.
Can any one please suggest some points to... (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
6. Solaris
is is possible to grant user access to only one subdirectory? example
a. create ftp user with read/write/delete access (ftp user doesnt belong to uguys group)
$ cd /etc/mydir
$ls
file1 file2
$ls -al
-rw-rw-r-x 2 unixguy uguys 96 Dec 8 12:53 file1
-rw-rw-r-x 2 unixguy uguys 96 Dec 8... (1 Reply)
Discussion started by: lhareigh890
1 Replies
7. Solaris
Hi all,
I want to create a new user and grant him ONLY transfer files access to a specific directory where he can only upload and read the files. He should be restricted to this activity only.
Regards (6 Replies)
Discussion started by: gilldn
6 Replies
8. UNIX for Advanced & Expert Users
Is there a way to allow a user to use sudo cp on a specific directory and only a specific file? (6 Replies)
Discussion started by: cokedude
6 Replies
9. Solaris
Hi,
I have enabled the Apache webserver on my machime.
Apache root directory is /etc/apache2 and the user in which the web server is configured is webservd,I guess.
I have another user called perf.
Under perf user there is /export/home/perf/v9 directory.
I want to give the OS user of... (3 Replies)
Discussion started by: bikas89
3 Replies
10. Web Development
Hi
I am trying to make a web program which is command line equivalent. i have done the coding in cgi program in perl and html for basic forms to take inputs. when i ran the program from web application i see permission denied messages. after analyzing i found apache is running as wwwrun which... (2 Replies)
Discussion started by: rakeshkumar
2 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)