LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Mel Boyce <pingu@ihug.com.au>
  To  : LinuxSA <linuxsa@linuxsa.org.au>
  Date: Tue, 2 Jan 2001 23:43:34 +1030

Re: A quick Question re win4lin

It was Tue, 2 Jan 2001 12:52:16 +1030, when you spake,
> Hi Guys & Gals (Merry Xmas & Happy New Year to all)
> 
> I've just installed & Set-up the demo for win4lin 2 - everything went well.
> I've installed and set-up win 98.
> The only problem is when I try to set up the devices - IE lpt ports & game
> Ports win4lin config says they are unavailable because they are "Root only"
> which means I have no "lpt1" under windows.
> Win4Lin says that I need to change the privileges for this device.
> Can someone please inform me the easiest way to do this.
> (please try to remember I am a relative newbie)

The chown (change owner) method is one way of doing it,
another (my preference, since I prefer to leave the ownership of devices alone) is chmod (change permissions etc).
Another problem that can crop up, is if you remove the user (deluser), the ownerships are going to get tricky... maybe...

The command I would use would be:

chmod a+rw /dev/lp0  <-- a=all +=add rw=read/write

This command gives read & write permissions of the device lp0 to all users.
not very secure, but it depends on your situation...

Another way to go is adding the user to the same group as the device, not something I'm into, but check the man page of adduser for the details of adding an existing user to an existing (or new) group.

-- 
It seems a little silly now, but this country was founded as a protest
against taxation.


-={     mel boyce     }=-
-={ pingu@ihug.com.au }=-
-={     l i n u x     }=-

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page