Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
> dosemu

Configuring DOSEmu

DOSEmu will create a hidden folder under the home directory of the user.

~/.dosemu

In that folder you will find 

Code Block
root@ubuntu-linux:~/.dosemu# ls -l
total 36
-rw-r--r-- 1 root root 18020 Apr 13 21:29 boot.log
-rw-r--r-- 1 root root   406 Apr 13 21:15 disclaimer
drwxr-xr-x 3 root root  4096 Apr 13 21:25 drive_c
drwxr-xr-x 2 root root  4096 Apr 13 21:21 drives
drwx------ 2 root root  4096 Apr 13 21:29 run


The boot.log is your logfile!


Restricting a User


> sudo vi /etc/dosemu/dosemu.users

...

Code Block
test restricted


Enable Low Memory Access

In recent linux kernels, being able to map to low memory addresses was disabled due to security concerns; this breaks dosemu for a lot of things. You will need to add vm.mmap_min_addr=0 to your /etc/sysctl.conf (and reboot, or reload as root with sysctl -p) if you want to be able to to run certain programs (TW2002 is one such program that suffers from this). 


> sudo sysctl -w vm.mmap_min_addr=0


Commands


CommandDescription Example
lredirMount a folder as a drive
lredir d: linux\fs\${home}






...