Trouble allowing Windows Administrator user access to Samba share

Morning all,

I have a Sco Openserver 6 machine running Samba (unsure how to determine the version)

I need to be able to create a share on the Unix box that is accessible by a windows Administrator login, and can read files onthe Unix box as if logged in as root.

This is so that I can use Windows NTBackup to create a complete backup of the Unix box.

At present there is an operational Samba share which workstations can browse and access happily, provided they have an account on the unix box. It presents them with a share of their home directory on the unix machine.

I did try creating an Administrator user on the unix box, but the username is too long.

Can someone please guide me through creating a 'simple' root share ?

Rob
LVL 6
RobmonsterAsked:
Who is Participating?
 
MikkkCommented:
edit file: /etc/samba/smb.conf

append this lines at the end of the file:

[total]
comment = Total
path = /
browseable = yes
writable = yes
valid users = yourname


create a user in the box: "yourname"
then map a drive to \\linuxbox\total with username "yourname" and yourpassword from the server.



0
 
gheistCommented:
Why you need to access files as root?
You can use any user account.
0
 
RobmonsterAuthor Commented:
If I do not access the files as root then will I still be able to read files files that are only readable by root according to unix file permisisons...?

0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
gheistCommented:
You can access files subject to their permissions. So make sure users create files that can be backed up.
Is unix file read access essential to backup operation of ntbackup? I think not.
0
 
RobmonsterAuthor Commented:
@gheist: As explained I want to create a full backup of the machine, including system areas. That is why I wish to read the files as root, to ensure that I can read and backup all the files. I don't want to find out later on that a partcular file was not backed up due to a file permission error.

@Mikkk: If I take your example, and set validusers = root then it sounds like it should work. I'll give it a try.
0
 
gheistCommented:
Linux has no secret system areas. Backup over samba will omit filesystem permissions an be of no value as a system backup.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.