08-15-2019
Hi,
If you would like to be more restrictive, this can be done in a more granular fashion using setfacl where you can give individual users the level of access required on individual file. Certainly in Linux, Solaris and AIX from memory.
Regards
Gull04
This User Gave Thanks to gull04 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can any one help me how to create folders using shellscript.My requirement is:
FolderName: Main/Main1
:Main/Main2
:Main/Main3
underSubFolder : Main1/A
:Main1/B
:Main1/C
underSubfolder: A/A1
... (2 Replies)
Discussion started by: ram2s2001
2 Replies
2. Shell Programming and Scripting
I would like to know if there is a script out there that someone may have already written that I can use to analyze folders and sub folders on my AIX system.
It can be in perl or a basic korn script.
Thanks in advance. (7 Replies)
Discussion started by: seacros
7 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone,
There are couple of users of which i need to give 2 of the users admin rights so that they are able to run the administration commands like "zoneadm" and locale.
When logged in as root i am obviously able to do that.please suggest any way by which the other 2 user's permissions... (1 Reply)
Discussion started by: sankasu
1 Replies
4. Shell Programming and Scripting
Helpppppppppppppp
Hi..
I have 2 servers with linux suse10.
I made a mistake and on one of the servers changed with chmod the permission of root in directory /.
In the other servers the permissions are correct
Please i need a script, to change the permissions of one server 1, using... (1 Reply)
Discussion started by: ave-phoenix
1 Replies
5. Shell Programming and Scripting
Hi..
I have 2 servers with linux suse10.
I made a mistake and on one of the servers changed with chmod the permission of root in directory /.
In the other servers the permissions are correct
Please i need a script, to change the permissions of one server 1, using the same permission of the... (11 Replies)
Discussion started by: ave-phoenix
11 Replies
6. Shell Programming and Scripting
Hi,
I need help in writing a script to search a particular text in multiple files present in folders and sub folders and replace it with another string which also has special characters like '&', '|', etc.. I know sed command will be used to replace the text but i'm not sure how to use it for... (5 Replies)
Discussion started by: Asheesh
5 Replies
7. Shell Programming and Scripting
Hi Unix Gurus,
I am able to copy only files that exist in the parent folder. My parent folder has sub folders and within sub folders there are lots files.
I need to copy folder, sub folders and files from Unix to the remote windows SFTP location.
The directory structure is something like... (1 Reply)
Discussion started by: shankar1dada
1 Replies
8. Shell Programming and Scripting
Hi,
I need a script/command to list out all the files in current path and also the files in folder and subfolders.
Ex: My files are like below
$ ls -lrt
total 8
-rw-r--r-- 1 abc users 419 May 25 10:27 abcd.xml
drwxr-xr-x 3 abc users 4096 May 25 10:28 TEST
$
Under TEST, there are... (2 Replies)
Discussion started by: divya bandipotu
2 Replies
9. Shell Programming and Scripting
Hello,
Greetings!
please help me produce the following solution. I need
to produce one big matrix file from several files in different levels.
If it helps, the index folder provides information on chromosome index and
the data folder provides information on values for chromosomes.
there... (8 Replies)
Discussion started by: newbie83
8 Replies
10. Shell Programming and Scripting
I am trying to move specific folders and subfolders within a directory using the below. I can see the folders to move and they are at the location, but I am getting an error. Thank you :).
mv -v /home/cmccabe/Desktop/NGS/API/6-10-2016{bam/{validation,coverage},bedtools /media/cmccabe/"My... (6 Replies)
Discussion started by: cmccabe
6 Replies
vipw(8) System Manager's Manual vipw(8)
NAME
vipw - Edits the /etc/passwd file
SYNOPSIS
/usr/sbin/vipw
DESCRIPTION
You use the vipw command to edit the /etc/passwd file with the editor defined in the EDITOR environment variable. If the variable is not
set, the default editor is vi.
The vipw command performs basic consistency checks on the edited file. If a hashed indexed passwd existed previously, the vipw command
uses the mkpasswd command to create recreate it.
The command must not be used on systems that use extended security attributes since it cannot set or change them. You must be root to run
this command. Only root and security administrators should have execute access to this command.
Since the vipw command cannot effectively change all the attributes of users, it should not be used in a secure environment.
The vipw command accesses the following files, and requires the listed permissions:
------------------------------
Permissions File
------------------------------
rw /etc/passwd
rw /etc/passwd.pag
rw /etc/passwd.dir
rw /etc/ptmp
rw /etc/ptmp.pag
rw /etc/ptmp.dir
------------------------------
EXAMPLE
To edit the /etc/passwd file, type the following command and add the required line entry: vipw
FILES
Specifies the command path
RELATED INFORMATION
Commands: passwd(1), passwd(4), adduser(8), mkpasswd(8) delim off
vipw(8)