HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Creating a superuser for backup purposes
Operating System - Linux
1829895
Members
2411
Online
109993
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 11:57 PM
10-10-2002 11:57 PM
Creating a superuser for backup purposes
Hi everyone,
I have a linux server that I would like to backup. I am backing up from a Windows server using samba.
The dir's I would like to backup belong to different users and groups, so when I tried to backup the dir's I got "access denied" errors all over.
I thought of creating another "root" type user who would have full access to these dir's and files and have the Windows server log in as this new user so it then has access to everything it needs to backup.
Any ideas or sugestions ?
Thank you in advanced
I have a linux server that I would like to backup. I am backing up from a Windows server using samba.
The dir's I would like to backup belong to different users and groups, so when I tried to backup the dir's I got "access denied" errors all over.
I thought of creating another "root" type user who would have full access to these dir's and files and have the Windows server log in as this new user so it then has access to everything it needs to backup.
Any ideas or sugestions ?
Thank you in advanced
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2002 06:32 AM
10-11-2002 06:32 AM
Re: Creating a superuser for backup purposes
instead of another user with userid 0... a security issue... you may want to create a standard user (call him backup for lack of something better). Once you have backup created, modify the user so that it belongs to all of the groups that the other directories belong too. Example...
2 directories need backing up. One has group ownership of sybase, and the other is group ownership users..
you create backup to have primary group as users. To also give access to Sybase directories:
usermod -G sybase backup
the capital G indicates a secondary group and will update the /etc/group file so backup has access as if they belonged to the group. You can add as many secondary group assignments as you want.
Ted
2 directories need backing up. One has group ownership of sybase, and the other is group ownership users..
you create backup to have primary group as users. To also give access to Sybase directories:
usermod -G sybase backup
the capital G indicates a secondary group and will update the /etc/group file so backup has access as if they belonged to the group. You can add as many secondary group assignments as you want.
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 04:23 AM
10-17-2002 04:23 AM
Re: Creating a superuser for backup purposes
I've also been wondering about a workaround for creating another "0" user...
The only problem with using Group permissions is that files aren't always accessible via groups... especially in user home directories. Many config files/dirs (i.e. .pinerc, .gnome-priv) are only set for user access.
To get a proper backup of /home, is there any better way than another UID=0 user?
The only problem with using Group permissions is that files aren't always accessible via groups... especially in user home directories. Many config files/dirs (i.e. .pinerc, .gnome-priv) are only set for user access.
To get a proper backup of /home, is there any better way than another UID=0 user?
The faster you run, the faster you're done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 09:28 AM
10-17-2002 09:28 AM
Re: Creating a superuser for backup purposes
I'm getting excellent backups using the following metholology.
I do backup to disk of important areas of the system. I do a tar file of /etc for configuration, one for the web data(This box is an ISP biz) to a reserved partition on the Linux box.
I currently have an ftp script on my backup server which downloads those files to a ntfs partition and grabs it.
My plan is to open up samba and let the backup server do those backups directly as a mapped hard disk.
You don't want any Microsoft boxes on your network with root or superuser priviledges, or passwords stored on them. Bad idea, a hacker will get in and trash you this way.
I bring down the server for monthly maintenance and do the following:
1) Boot from a boot desk that enables me to connect via an Intel NIC card to an NT server.
2) Use Norton Ghost 7.0 to take a complete image of the entire disk
It's big but I actually migrated an entire Red Hat Linux server this way.
Why is this good?
Because it creates a disaster recovery image that lets you recover from anything. If you need to build a new server someplace else, all you need to do is boot, fire up Ghost and restore the image. I backup the image to tape right after creating it.
Steve
I do backup to disk of important areas of the system. I do a tar file of /etc for configuration, one for the web data(This box is an ISP biz) to a reserved partition on the Linux box.
I currently have an ftp script on my backup server which downloads those files to a ntfs partition and grabs it.
My plan is to open up samba and let the backup server do those backups directly as a mapped hard disk.
You don't want any Microsoft boxes on your network with root or superuser priviledges, or passwords stored on them. Bad idea, a hacker will get in and trash you this way.
I bring down the server for monthly maintenance and do the following:
1) Boot from a boot desk that enables me to connect via an Intel NIC card to an NT server.
2) Use Norton Ghost 7.0 to take a complete image of the entire disk
It's big but I actually migrated an entire Red Hat Linux server this way.
Why is this good?
Because it creates a disaster recovery image that lets you recover from anything. If you need to build a new server someplace else, all you need to do is boot, fire up Ghost and restore the image. I backup the image to tape right after creating it.
Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP