File: README.Debian

package info (click to toggle)
snooper 19991202-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 208 kB
  • ctags: 91
  • sloc: sh: 1,507; ansic: 1,112; makefile: 79
file content (24 lines) | stat: -rw-r--r-- 860 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
The Debian snooper package installs /usr/bin/snooper as a normal
executable program, with no special privileges.

Debian systems normally have the serial devices, /dev/ttyS0,
/dev/ttyS1, etc., secured so that users must be in the group 'dialout'
to read/write those devices.

You should therefore add the user(s) you want to be able to run
snooper to the 'dialout' group.  For example, the following
command gives user 'joe' the ability to use snooper (and anything
else that opens and reads/writes the /dev/ttySn serial ports):

  # adduser joe dialout

(Note that user joe will have to log in again, or use a 'newgrp'
or 'sg' command, in order to see the change.)


Alternatively, you might want to make snooper set-group-id
'dialout.'  In this way it will run as that group, for any user:

  # chown dialout /usr/bin/snooper
  # chmod g+s /usr/bin/snooper