10-08-2015
I have NEVER seen one true unix system where a user owned all files, there are very good reasons why, and if we showed you how to give marco the ownership of alll, the next post you will be sending is how to get on your box that isnt working propely anymore... and all that can be done is a complete reinstall.. Is that what you want?
In other terms, users have right given by root, at some places only... That is what you have to decide: Where should marco have right to do what he want other than his home directory... It cannot be in a system file-system so forget about /bin etc....
Usually users have dedicated filsystems for their soft and data e.g. oracle
Last edited by vbe; 10-08-2015 at 01:08 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to delete some files and directories owned by root from another different user in HP-UX 10.20.
The list of files looks like:
(user test)
bash-2.03$ ls -alrt
total 20 ... (2 Replies)
Discussion started by: choo
2 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies
3. UNIX for Dummies Questions & Answers
Is there any way in Solaris 9 to monitor changes made to user accounts by root? (0 Replies)
Discussion started by: scriptarg
0 Replies
4. UNIX for Advanced & Expert Users
Thanks
Avklinux (1 Reply)
Discussion started by: avklinux
1 Replies
5. UNIX for Dummies Questions & Answers
hi
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help
Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies
6. AIX
Hi
I'm logged in to an AIX box now and we need to do an audit on this box.
cbssapr01:# pwd
/
Which command will show all the files and directories owned by root user with permissions as 777 ? (8 Replies)
Discussion started by: newtoaixos
8 Replies
7. UNIX for Dummies Questions & Answers
I've been through many threads before i decide to create a separate thread.
I can't really find the solution to my (simple) problem.
Here's what I'm trying to achieve:
As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user.
The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies
8. UNIX for Advanced & Expert Users
Hi!! one strange problem occurred with my RHEL 5 box.
i'm having logs folder with ownership of non-root user. Created some files with root user under logs folder.
here is the scene:
-rw-r----- 1 root root 1048227 Feb 28 12:34 SystemOut_13.02.28_12.34.10.log
-rw-r----- 1 root root ... (6 Replies)
Discussion started by: sukhdip
6 Replies
9. Shell Programming and Scripting
Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal.
I want to give some users a root level access.
Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way
Regards
ADI (4 Replies)
Discussion started by: adisky123
4 Replies
10. UNIX for Beginners Questions & Answers
We have regularly questions about how to create users and user accounts. But regularly user accounts need to be deleted too. It is quite easy to delete the user account itself but usually the HOME directory of the user remains.
It is good style to remove these directories but simply deleting... (3 Replies)
Discussion started by: bakunin
3 Replies
LEARN ABOUT OSF1
updmerge
updmerge(8) System Manager's Manual updmerge(8)
NAME
updmerge - DO NOT USE THE updmerge UTILITY!
SYNOPSIS
/usr/bin/updmerge [-r] directory
/usr/bin/updmerge directory
/usr/bin/updmerge file directory
OPTIONS
Performs a recursive reinstallation of all the files and subdirectories in the /var/adm/install/update area relative to the specified
directory.
OPERANDS
Specifies the directory from which the reinstallation is relative, typically the root (/) directory. Specifies the name of a file in the
update area, or specifies the relative pathname of that file from the update area.
DESCRIPTION
Caution
DO NOT USE THE updmerge UTILITY!
The updmerge utility lets you merge files that have been preserved from a previous installation into a new installation environment. Any
user file or customized file from a previous installation that you do not want replaced or overwritten can be saved and reintegrated into a
new installation environment.
You must have superuser privileges to invoke the updmerge utility, and the system must be in single-user mode. The updmerge utility must be
invoked from the /var/adm/install/update directory, which is created by the updmv utility and contains entries for the files that have been
preserved from the previous installation. Use the -r option followed by the directory operand to perform a recursive installation of all
preserved subdirectories under the /var/adm/install/update area relative to a specific directory. Use the directory operand only to
install only those preserved files directly under the /var/adm/install/update directory. This causes a non-recursive merge of the files in
the specified directory. If you use the directory operand only, subdirectories in /var/adm/install/update are not merged into the new
installation environment. Use the file operand followed by the directory operand to install a single preserved file. This file can be the
name of the file in the /var/adm/install/update directory, or it can contain the relative pathname of that file from the
/var/adm/install/update directory.
If the file operand is a directory name instead of a file name, the updmerge utility reinstalls all files in that directory, but
none in its subdirectories.
To integrate files from the previous installation into the new installation environment, the updmerge utility compares each preserved file
to the newly installed files with the following rules: If the preserved file does not exist on the system, you can view the preserved file
before determining whether or not to install it. If the preserved file does exist on the system, you can view the differences between the
preserved file and the newly installed file before selecting the file you want installed on the system. If a preserved file is identical
to a newly installed file, a message is issued and the next file is checked.
EXAMPLES
Recursively install all preserved subdirectories and files under /var/adm/install/update relative to the root (/) directory: updmerge -r /
Install the preserved /etc/hosts file relative to the root (/) directory: updmerge etc/hosts /
Install the preserved files in the etc directory relative to the root (/) directory (in this case, /etc): updmerge etc /
RESTRICTIONS
Caution
DO NOT USE THE updmerge UTILITY!
You must have superuser privileges to invoke the updmerge utility.
The system must be in single-user mode before you invoke the updmerge utility.
The updmerge utility must be invoked from the /var/adm/install/update directory.
FILES
Storage area created by the updmv utility.
SEE ALSO
genufi(8), invsync(8), updmv(8), udetect(8), usync(8) stl_inv(4)
updmerge(8)