Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-26-2006, 10:55 AM   #1
Red Squirrel
Senior Member
Registered: Dec 2003
Distribution: Mint 17.1 KDE on workstation, CentOS 6.x on servers
Posts: 1,121

Rep: Reputation: 47
backup server - permission issues

I have a backup server that grabs files via samba off the other server and workstations. The problem is, if the permissions are not global, but to a specific user (ex: mysql) the files wont backup. Since both servers have the same root password, is there a way to gain full root access through samba so I dont get any permission denied issues? I want to do this without having to change permissions on the server being backed up.
Old 02-26-2006, 02:23 PM   #2
Registered: Feb 2004
Location: Wichita, KS
Distribution: CentOS 4, SuSE 10, Tiger
Posts: 110

Rep: Reputation: 15
You might try putting an entry in your smbusers files that maps root to a Windows username. So, for example, to have the root account accessible through administrators, add
Old 02-26-2006, 03:27 PM   #3
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,238

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Originally Posted by Red Squirrel
Since both servers have the same root password...
If they're both Linux/Unix servers, why are you using SAMBA?

For Windows boxes, before backing them up I mount their shares using fstab entries like this:
//  /mnt/livingroom/c  smbfs  noauto,umask=0000,credentials=/etc/cred  0 0
That umask is a little wide open for just a backup, but this is a generic fstab entry that I use to mount things for users to write as well. That share itself is about as wide open as you can get!

And my /etc/cred file for the above mount looks like this:
# /etc/cred

# Credentials to mount Windows shares via SAMBA

username = administrator
password = the_administrator_password
Again, pretty wide open credentials there, but this is on my home LAN and "I know what I'm doing (tm)"! Software firewalls on each computer, strong passwords, and a rules-based router keep things confined to the LAN.
Old 02-26-2006, 03:52 PM   #4
Red Squirrel
Senior Member
Registered: Dec 2003
Distribution: Mint 17.1 KDE on workstation, CentOS 6.x on servers
Posts: 1,121

Original Poster
Rep: Reputation: 47
Yeah I mount as I need. I have a script and all the parameters are passed to it depending on which drive is in the tray, it mounts, runs the backup, goes to next job etc...

For mapping the administrator account as root, I do that on the source server?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission Issues turbo_acura Linux - Software 3 02-20-2006 04:24 PM
Using rsync for local server backup. Some issues. enygma Linux - Networking 0 02-03-2005 01:46 PM
Giving permission to /backup partition Micro420 Linux - Newbie 2 03-22-2004 06:08 PM
squid issues or what? - LAN backup server setup problem htm Linux - Networking 2 03-18-2004 09:10 AM
permission issues. neuroX Linux - Software 7 02-17-2004 06:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration