Skip to contentSkip to conversation

Problems while starting 1.1.4 with other user than root

DISCUSSION Peter Forst 2 participants 2 messages Dec 20, 2002

lore
Share & tools
lore
#0 lore raw

Hi there,

After upgrading from 1.1.3-7 to 1.1.4, any other user, than root can not start anymore the dosemu. Error-message:

-- Running unpriviledged in low feature mode Linux kernel 2.4.16; CPU speed is 1460485000 Hz Dosemu-1.1.4.0 Running on CPU=586, FPU=1
ERROR: can't open /dev/mem: errno=13, Keine Berechtigung

An ls -l shows following:
crw-r----- 1 root kmem 1, 1 May 12 2001 /dev/mem

Also an chmod to 777
crwxrwxrwx 1 root kmem 1, 1 May 12 2001 /dev/mem

Takes no effect.

Hope someone can help me to fix the problem. Thanxxx :-)

Peter Forst
<mail: [email protected]>

#1 lore raw
Quoted 7 lines · Peter Forst

After upgrading from 1.1.3-7 to 1.1.4, any other user, than root can not start anymore the dosemu. Error-message:

-- Running unpriviledged in low feature mode Linux kernel 2.4.16; CPU speed is 1460485000 Hz Dosemu-1.1.4.0 Running on CPU=586, FPU=1
ERROR: can't open /dev/mem: errno=13, Keine Berechtigung

right, this is a bug because this shouldn't happen in the first place, but please adapt your dosemu.conf or ~/.dosemurc and comment out (at least) $_dualmon, like this:

#$_dualmon = (0) # if you have one vga _plus_ one hgc (2 monitors)

-- a workaround that fixes your problem.

Quoted 7 lines

An ls -l shows following:
crw-r----- 1 root kmem 1, 1 May 12 2001 /dev/mem

Also an chmod to 777
crwxrwxrwx 1 root kmem 1, 1 May 12 2001 /dev/mem

Takes no effect.

you should move that back to what it was to plug a big security hole ;)

Bart