SUSE ISO DVDs, and make VMWare Player play nicely with Ubuntu and Debian.

" />
x
Loading
 Loading
Hello, Guest | Login | Register

A Trio of Linux Tricks

Learn how to share files simply, burn SUSE ISO DVDs, and make VMWare Player play nicely with Ubuntu and Debian.

This month, “On the Desktop” is something of a grab bag of tricks to make your personal computing life easier.

Trick One: Unbelievably Brain-Dead Easy SAMBA and NFS File Sharing

If you want to share data between your Windows boxes and your Linux machine and use your home Linux box as a simple file server for, you can spend several afternoons reading a pile of manuals, or you can use my brain-dead simple /etc/samba/smb.conf and /etc/exports files.

If you just want to have a couple of simple shares in Samba, like access to the root of the /home directory, or even direct access to the entire root filesystem, with no worries about setting user permissions and access control lists, use a smb.conf file that looks like this:

[global]
workgroup = workgroup
cups options = raw
map to guest = Bad User
domain master = no
restrict anonymous = no
preferred master = no
max protocol = NT
server signing = Auto
domain logons = no
local master = yes
passdb backend = smbpasswd
netbios name = sles9
encrypt passwords = yes

[myshare]
path = /
read only = no
force user = root
force group = root
guest account = root
case sensitive = no
guest only = yes
guest ok = yes
browseable = yes
printable = no

With this configuration, I’ve set up a single file share, myshare, which forces all connections to be the local root user, thus eliminating the need for any…

Please log in to view this content.

Not Yet a Member?

Register with LinuxMagazine.com and get free access to the entire archive, including:

  • Hands-on Content
  • White Papers
  • Community Features
  • And more.
Already a Member?
Log in!
Username

Password

Remember me

Forgotten your password?
Forgotten your username?
Read More
  1. KDE 4.4: Does It Work Yet?
  2. Writing Custom Nagios Plugins with Python
  3. Power Up Linux GUI Apps
  4. Tweeting from the Command Line with Twyt
  5. When Memory Serves You: Using ramfs and tmpfs
Follow Linux Magazine
Rackspace