User Tools

Site Tools


jessy:virtualbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
jessy:virtualbox [2016/10/20 10:54] – [Networking] slackjessy:virtualbox [2019/11/07 17:58] (current) – external edit 127.0.0.1
Line 24: Line 24:
  
 Then ''root@alito:/etc/network# ../init.d/networking restart'' (and get kicked off). Then ''root@alito:/etc/network# ../init.d/networking restart'' (and get kicked off).
 +
 +===== Samba for shared folders =====
 +
 +==== Client/Guest ====
 +
 +  apt-get install cifs-utils
 +
 +Create ''/etc/samba/credentials'' chmod 400 as root containing
 +
 +  username=samba_user
 +  password=samba_password
 +
 +and add to fstab
 +
 +  //10.0.0.1/slack  /alan  cifs  credentials=/etc/samba/credentials  0 0
 +
 +  cd /home
 +  mv slack slack.old
 +  ln -s /alan/alito slack
 +
 +==== Server/Host ====
 +
 +To reenable symlinks despite the [[https://odzangba.wordpress.com/2011/01/02/fix-samba-not-following-symlinks-error/|security implications]], edit /etc/samba/smb.conf
 +
 +  follow symlinks = yes
 +  wide links = yes
 +
 +And add the user if you're not using an existing one
 +
 +  smbpasswd -a slack
  
 ===== Guest Additions (for shared folders) -- DON'T DO THIS, IT'S JUST A TOY ===== ===== Guest Additions (for shared folders) -- DON'T DO THIS, IT'S JUST A TOY =====
jessy/virtualbox.1476960880.txt.gz · Last modified: 2019/11/07 17:58 (external edit)