07-20-2009
Hi,
do you really need a copy of the filesystem or is access to the data sufficient?
If access is enough Samba may help you: share the folder and directly access it from your windows box.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a log file that I would like to copy from my windows pc to my unix pc for further processuon. Is there any command that can help me perform this task?. I already have a cron to fire up the process, but nothing seems to be coming up.
I am trying to use ftp but nothing is coming forth.... (8 Replies)
Discussion started by: odogbolu98
8 Replies
2. UNIX for Dummies Questions & Answers
Where I work we run unix through Microsoft windows, so my unix Windows appear on my MS Windows desktop.
I surf the net with Microsoft Internet Explorer, is there anyway I can copy and paste examples from the net into my Unix windows?
Thank you (9 Replies)
Discussion started by: Loaded Gun
9 Replies
3. UNIX for Dummies Questions & Answers
Hi,
we have a strange problem.
We have to format any floppy disk HD in unix filesystem mode (SCO) but we haven't unix workstations.
Are there any software to make this formatting from windows xp pc ?
Regards
Gianpaolo (1 Reply)
Discussion started by: elektra
1 Replies
4. UNIX for Dummies Questions & Answers
How do i copy a jar file from Windows to Unix?I am using eTrust single sign on tool to connect to the unix server. (1 Reply)
Discussion started by: ghanshyam
1 Replies
5. UNIX for Advanced & Expert Users
how to select all the text from a file in Unix and then paste it in Notepad in windows? (4 Replies)
Discussion started by: skyineyes
4 Replies
6. UNIX for Dummies Questions & Answers
I have a file in windows that I need to copy to UNIX. How can I FTP binary to the UNIX server.
Thanks (2 Replies)
Discussion started by: abou202
2 Replies
7. Shell Programming and Scripting
How to copy the complete content from a file in vi Editor to windows ( notepad ).
I can use " select " and paste it to windows but this is restricted to current page. Not allowing me to scroll down or up when selecting the content.:confused: (1 Reply)
Discussion started by: frintocf
1 Replies
8. UNIX for Dummies Questions & Answers
I generally highlight the content in unix terminal and use ctrl+v to paste in windows and it was working. Recently I noticed that if I copy in unix and paste in windows, it works once and then it does not work the second time. Then if I do a ctrl+c in a windows app to select a text and then go back... (3 Replies)
Discussion started by: carv_13
3 Replies
9. Shell Programming and Scripting
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies
10. Shell Programming and Scripting
Hi Folks,
I have a file name abc.xml in my windows machine at the location c:\ytr\abc.xml
which I want to place at the unix box machine inside cde directory.. at the following location that is /opt/app/cde/
now the credentials of unix box are
abc345 -->(dummyid)
ftyiu88--->(dummy passwd)
... (4 Replies)
Discussion started by: punpun66
4 Replies
LEARN ABOUT OPENSOLARIS
samba_selinux
samba_selinux(8) Samba Selinux Policy documentation samba_selinux(8)
NAME
samba_selinux - Security Enhanced Linux Policy for Samba
DESCRIPTION
Security-Enhanced Linux secures the Samba server via flexible mandatory access control.
FILE_CONTEXTS
SELinux requires files to have an extended attribute to define the file type. Policy governs the access daemons have to these files. If
you want to share files other than home directories, those files must be labeled samba_share_t. So if you created a special directory
/var/eng, you would need to label the directory with the chcon tool.
chcon -t samba_share_t /var/eng
To make this change permanent (survive a relabel), use the semanage command to add the change to file context configuration:
semanage fcontext -a -t samba_share_t "/var/eng(/.*)?"
This command adds the following entry to /etc/selinux/POLICYTYPE/contexts/files/file_contexts.local:
/var/eng(/.*)? system_u:object_r:samba_share_t:s0
Run the restorecon command to apply the changes:
restorecon -R -v /var/eng/
SHARING FILES
If you want to share files with multiple domains (Apache, FTP, rsync, Samba), you can set a file context of public_content_t and pub-
lic_content_rw_t. These context allow any of the above domains to read the content. If you want a particular domain to write to the pub-
lic_content_rw_t domain, you must set the appropriate boolean. allow_DOMAIN_anon_write. So for samba you would execute:
setsebool -P allow_smbd_anon_write=1
BOOLEANS
SELinux policy is customizable based on least access required. So by default SELinux policy turns off SELinux sharing of home directories
and the use of Samba shares from a remote machine as a home directory.
If you are setting up this machine as a Samba server and wish to share the home directories, you need to set the samba_enable_home_dirs
boolean.
setsebool -P samba_enable_home_dirs 1
If you want to use a remote Samba server for the home directories on this machine, you must set the use_samba_home_dirs boolean.
setsebool -P use_samba_home_dirs 1
system-config-selinux is a GUI tool available to customize SELinux policy settings.
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO
selinux(8), samba(7), chcon(1), setsebool(8), semanage(8)
dwalsh@redhat.com 17 Jan 2005 samba_selinux(8)