-
HELP; NEWB HERE! What do these intstructions mean?
I'm a newb, and am going to sound like an idiot but I have downloaded a program, and the instructions to install that were included in it confuse the heck out of me. I know how to open konsole and act as root, but beyond that, I'm close to useless. I've often seen on here many step by step guides including prompt commands given to newbs; something like that would be fantastic! I would really apreciate anybodies help! Here are the instructions I recieved.
Before running
==============
NOTE: nomad manager will need read/write access to /dev/parport0 (LPT1,
curently hardcoded). To allow access
a) be root (not good idea)
b) give the user you working from access to /dev/parport0. You can do this
in two ways:
1) (better) Check what group does /dev/parport0 belongs to. Add your user to that group.
Example: I run under user 'valters'. /dev/parport0 ownership belong to group 'lp'.
Switch to root, edit /etc/group file, on line lp:[someting] add ',valters' to end of line.
(As in: line in question in my /etc/groups it looks like this: 'lp
:7:daemon,lp,valters' ).
You must be root to edit /etc/group file.
2) (not good idea) Simply change /dev/parport0 permissions to be world readable/writable.
(As in: 'chmod a+rw /dev/parport0'). You must be root to change /dev/parport0 permissions.
Run
===
run './freenomad'.
NOTE: nomad manager will create debug log file in /tmp/nomad-debug.log.
This logfile will contain detailed debug output and hex dumps of player
commands/responses. Inspect the file to see what is not working...
Don't forget to delete /tmp/nomad-debug.log occasionally, it grows big fast.
-
Senior Member
registered user
It's a printer-topic.
The printer normally is a pseudouser too, normally with name 'lp' like LinePrinter.
To validate that information, issue the command:
which leads to output like this:
crw-rw---- 1 root lp 6, 0 2004-03-14 04:32 /dev/lp0
crw-rw---- 1 root lp 6, 1 2004-03-14 04:32 /dev/lp1
crw-rw---- 1 root lp 6, 2 2004-03-14 04:32 /dev/lp2
it means:
c= character device (there are b=block-devices too, d=directory, ...)
rw- means: owner has read-write - permissions, but not executable.
rw- dito for the group
--- rest of the world
we see owner is 'root' and the group is 'lp'.
That's enough.
Every file belongs to an owner and a group, and if you're in this group, you have group-access.
And the printer-devices are represented as a kind of file.
Now, I assume there is one user on your system, called 'donald'.
Instead of manipulating the group-file by hand, you simply issue this command:
Code:
usermod -G lp donald
and donald belongs to the group 'lp' too.
Don't type:
Code:
usermod -g lp donald
, because this would make donald's initial group to 'lp'.
Every user may belong to several groups, but has an initial-group, in your case 'users'.
If you create a file, it will be created with this group account. And you don't want to make your files with group-permission 'lp' - that would be nonsense.
Similar Threads
-
By tlo in forum General Support
Replies: 4
Last Post: 05-29-2005, 01:04 PM
-
By AliveUD in forum General Support
Replies: 3
Last Post: 01-08-2005, 10:02 PM
-
By knokoutned in forum General Support
Replies: 8
Last Post: 01-02-2005, 04:55 PM
-
By bob bobbish in forum General Support
Replies: 5
Last Post: 03-05-2004, 02:27 PM
-
By TotalLinuxNewb in forum General Support
Replies: 2
Last Post: 12-04-2003, 06:08 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1299.99

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$149.99

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$108.92

IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5" Server Hard Drive
$200.00

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS
$80.00

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER
$349.99

Lot of 2 IBM blade center Type H chassis 8852
$559.00

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671
$230.00