Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Changing rights without touching user and group? Post 302490932 by tracer on Wednesday 26th of January 2011 07:57:43 AM
Old 01-26-2011
Hi, this is no homework, it's an existing and running environment.

The "Clients" are different Webservers, with multiple accounts, users and groups. There are daily changes on the datastructure, new accounts are generated (and with this accounts new users and groups on this client machines). All groups which are generated on these machines have one thing in common: the group itself is member of one "backup" group.
Now there is a backup/storage server connects itself to the client once a day and makes a backup of all files and folders via rsync. During backup the original user and group rights are keept - this user and group does not exist on the storage server, so I only can see the id of the group. So if a user deletes files on his client (webserver) unintentional we are able to copy the content back and of course on this machine user and group exist and therefore everything is back to the original state again. All this works fine so far.
But - if a some calls the support weather there exists a backup of a certain file and they want to check if there is a existing backup on the storage system this is only possible if they access the storage server with root rights, because the groups and users on the storage system do not exist. Therefore I'm searching a better solution...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Giving rights to User

Hi all, what does the following lines means? chown -R root:mysql /usr/local/mysql chown -R mysql:mysql /usr/local/mysql/data Something giving rights to user named mysql? or related with root rights? Please explain in detail. Thanks. (1 Reply)
Discussion started by: vbs
1 Replies

2. HP-UX

User rights

I wan to create a user e.g. Tom. whenever a file is created by user Tom or FTP is done using user as Tom, the rights on the file should be 777 (by default). how can I achieve this. Please help. Its very urgent. (1 Reply)
Discussion started by: sharmavr
1 Replies

3. Shell Programming and Scripting

Changing userID and Changing group and GID

Hello, I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job. linux1 linux2 linux3 linux4 linux5 ...... . . . . . 1.) How can i enter "password" in script rather asking me? I was trying this... ssh... (2 Replies)
Discussion started by: deal732
2 Replies

4. UNIX for Dummies Questions & Answers

How to give Admin rights to a group

Hi can some one help me in giving a group Administrative rights in Linux. So that who ever is added to that group has the rights equal to the Admin. (1 Reply)
Discussion started by: vamsi_mantena
1 Replies

5. Solaris

Changing root group to group from other

Does any one know if changing root's group from “other” to “root” will cause any problems on a running system. Thanks (4 Replies)
Discussion started by: mjkroner
4 Replies

6. 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

7. UNIX for Dummies Questions & Answers

User Add and Rights

Dears, I want to add a user and give him rights only for a spesific folder and take the files via ftp. The user shouldn't see the other files above or belov his folder. lets say I have "user". my directories: /a /b/d /c when I connect to the system I want this "user" to connect... (3 Replies)
Discussion started by: hubatuwang
3 Replies

8. Homework & Coursework Questions

user rights

good evening .. I have a plea, who I can help me with a management application user rights on the files in a Unix / Linux I need for college .. .. and not told us no clue .. thank you (1 Reply)
Discussion started by: alex90
1 Replies

9. Red Hat

User is a Part of a Group But Group Details Do Not Show the User

Hi, In the following output you can see the the user "richard" is a member on the team/group "developers": # id richard uid=10247(richard) gid=100361(developers) groups=100361(developers),10053(testers) but in the following details of the said group (developers), the said user... (3 Replies)
Discussion started by: indiansoil
3 Replies
VGCFGBACKUP(8)                                                System Manager's Manual                                               VGCFGBACKUP(8)

NAME
vgcfgbackup - backup volume group descriptor area SYNOPSIS
vgcfgbackup [-d|--debug] [-f|--file filename] [-h|--help] [--ignorelockingfailure] [-P|--partial] [-v|--verbose] [VolumeGroupName...] DESCRIPTION
vgcfgbackup allows you to backup the metadata of your volume groups. If you don't name any volume groups on the command line, all of them will be backed up. In a default installation, each volume group gets backed up into a separate file bearing the name of the volume group in the directory /etc/lvm/backup. You can write the backup to an alternative file using -f. In this case if you are backing up more than one volume group the filename is treated as a template, and %s gets replaced by the volume group name. NB. This DOESN'T backup user/system data in logical volume(s)! Backup /etc/lvm regularly too. OPTIONS
See lvm for common options. SEE ALSO
lvm(8), vgcfgrestore(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGCFGBACKUP(8)
All times are GMT -4. The time now is 04:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy