Sponsored Content
Top Forums Shell Programming and Scripting Access rights for users - list Post 302555132 by ggayathri on Wednesday 14th of September 2011 02:30:39 AM
Old 09-14-2011
The read/write/execute access
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix access rights

Hi, Is it true that if I am not the root I can not select access permissions to a file that I own so that my friend (who also isn't the root) can access that file? And is it true that the only way to accomplish it is to ask the root to "put" my friend into "my" group? Then I could simply set... (1 Reply)
Discussion started by: rudo
1 Replies

2. UNIX for Dummies Questions & Answers

file access rights?

Hi, I want to execute a customised process like rating engine using a shell script from a directory other than the directory where the customizes process is placed. I have tried it in the following way...and faced a issue when shell script is available in directory /dir1/ and customized... (1 Reply)
Discussion started by: vkishore.btw
1 Replies

3. Solaris

List users who have administrative access

Hi , Could you please give me the commands for the following. 1.list users who have direct access to solaris database at os-level 2.list users who have administrative access at os-level in solaris Please also let me know how to figure out these specific users i need from a... (6 Replies)
Discussion started by: James777
6 Replies

4. UNIX for Dummies Questions & Answers

User Access Rights

Hi Folks, My problem is an easy one for the experts here. All my applications run using a user id that creates files with only the following default rights: -rw-r----- I want to modify this user's account such that it creates files that assign read access to the everyone group by default:... (7 Replies)
Discussion started by: umairrahman
7 Replies

5. UNIX for Advanced & Expert Users

FTP and access rights

Hello all, I am currently writing an application that besides other thing ,ftps files from remote machines (running linux and solaris). My problem is this: i am connecting to remote machines as a user other than root and i have found that there is a possibility that i will encounter folders with... (3 Replies)
Discussion started by: noam128
3 Replies

6. UNIX for Dummies Questions & Answers

Access Rights

Hello Guru, I have very unique requirement , need some help. I have one folder created in one the server A. In this folder , the file getting uploaded from some java based page. then i am calling scp through key file, which works fine in another folder of server B. Currently , what i am... (2 Replies)
Discussion started by: u263066
2 Replies

7. UNIX for Dummies Questions & Answers

kernel giving access for multiple users to access files

hi all, i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Discussion started by: jimmyuk
1 Replies

8. Red Hat

Dansguardian Access rights

well hi to all The thing is I need to allow particular site to just one or 2 user not to everybody. Can anybody tell me how do i do it. If i put there ip in exception then whole Restriction would be bypassed which i dont want. Your Responses would be highly appreciated THANKS in ADVANCE (0 Replies)
Discussion started by: achtani_jeetu
0 Replies

9. Solaris

samba read write access to owner and no access to other users

Hi All, I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration. Regards, Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies

10. Red Hat

How to check local accounts have root and user access rights ?

Hi, I have three servers,For 3 servers how i can take output,all the local accounts and details of whether the access is Root or User access. cheers (1 Reply)
Discussion started by: ranjithm
1 Replies
NWGRANT(8)							      nwgrant								NWGRANT(8)

NAME
nwgrant - Add Trustee Rights to a directory SYNOPSIS
nwgrant [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] [ -o object name | -O object id ] [ -t type ] [ -r rights ] file/directory DESCRIPTION
nwgrant adds the specified bindery object with the corresponding trustee rights to the directory. nwgrant looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information. Please note that the access permissions of $HOME/.nwclient MUST be 600 for security reasons. OPTIONS
-h -h is used to print out a short help text. -S server server is the name of the server you want to use. -U user user is the user name to use for login. -P password password is the password to use for login. If neither -n nor -P are given, and the user has no open connection to the server, nwgrant prompts for a password. -n -n should be given if no password is required for the login. -C By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off this conversion by -C. -o object name The name of the object to be added as trustee. -O object id The id of the object to be added as trustee. -t object type The type of the object. Object type must be specified as a decimal value. Common values are 1 for user objects, 2 for group objects and 3 for print queues. Other values are allowed, but are usually used for specialized applications. If you do not specify object type, object name is taken as NDS name. -r rights You must tell nwgrant which rights it should grant to the bindery object. The new rights for the object is specified by rights, which can be either a hexadecimal number representing the sum of all the individual rights to be granted or a string containing characters representing each right. Characters within the brackets may be in any order and in either case. Spaces are allowed between the brack- ets - in which case the entire string should be quoted. Hexadecimal and character values for the rights are shown in this table: 00 = no access 01 = read access = R 02 = write access = W 08 = create access = C 10 = delete access = E 20 = ownership access = A 40 = search access = F 80 = modify access = M 100 = supervisory access = S for a possible total of "1fb" or "[SRWCEMFA]" for all rights. file/directory You must specify the directory to which to add the object as trustee. This has to be done in fully qualified NetWare notation. Example: nwgrant -S NWSERVER -o linus -t 1 -r fb 'data:homelinus' With this example, user linus is given all rights except supervisory to his home directory on the data volume. This example assumes the existence of the file $HOME/.nwclient. nwgrant -o linus -t 1 -r fb /home/linus/ncpfs/data/home/linus With this example, user linus is given all rights except supervisory to his home directory on the data volume. This example assumes that NWSERVER is already mounted on /home/linus/ncpfs mountpoint. AUTHORS
nwgrant was written by Volker Lendecke with the corresponding NetWare utility in mind. See the Changes file of ncpfs for other contribu- tors. nwgrant 5/19/2000 NWGRANT(8)
All times are GMT -4. The time now is 08:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy