keiner_1
25.06.02, 22:39
Hallo zusammen
Ich bin wohl zu doof, kann mir einer auf die Sprünge helfen... ich bin gerade am ausprobieren von userhelper!
ich möchte das alle user auf meinem System tcpdump ausführen können und möchte es mit userhelper lösen!!!
zu meiner Frage:
was macht genau die -w option, hier in der man steht folgendes:
-w Specify a program name to be run and arguments to
be passed to it. userhelper will look in the file
/etc/security/console.apps/programname for the name
of a user to authenticate, the path of the binary
to be run, and other settings described below.
userhelper will then attempt to authenticate the
user using PAM, specifying programname as the PAM
service name. If authentication succeeds, the
binary will be run with superuser privileges. If
the configuration file specifies that PAM session
management should be performed, userhelper will
also open a PAM session before starting the pro-
gram, and close the session when the program termi-
nates. If authentication fails, userhelper can be
configured run the program with the user's privi-
leges instead.
wenn ich # userhelper -w tcpdump macht er gar rein nichts, wenn ich hingegen die t Option mitschicke dann kommt das:
aus der man:
-t Use text mode authentication instead of the num-
bered message types just described; only used with
-w.
# userhelper -t -w tcpdump
Segmentation fault
hier die zweite Frage was ist das "Segmentation fault" genau?
greetz
adme
Ich bin wohl zu doof, kann mir einer auf die Sprünge helfen... ich bin gerade am ausprobieren von userhelper!
ich möchte das alle user auf meinem System tcpdump ausführen können und möchte es mit userhelper lösen!!!
zu meiner Frage:
was macht genau die -w option, hier in der man steht folgendes:
-w Specify a program name to be run and arguments to
be passed to it. userhelper will look in the file
/etc/security/console.apps/programname for the name
of a user to authenticate, the path of the binary
to be run, and other settings described below.
userhelper will then attempt to authenticate the
user using PAM, specifying programname as the PAM
service name. If authentication succeeds, the
binary will be run with superuser privileges. If
the configuration file specifies that PAM session
management should be performed, userhelper will
also open a PAM session before starting the pro-
gram, and close the session when the program termi-
nates. If authentication fails, userhelper can be
configured run the program with the user's privi-
leges instead.
wenn ich # userhelper -w tcpdump macht er gar rein nichts, wenn ich hingegen die t Option mitschicke dann kommt das:
aus der man:
-t Use text mode authentication instead of the num-
bered message types just described; only used with
-w.
# userhelper -t -w tcpdump
Segmentation fault
hier die zweite Frage was ist das "Segmentation fault" genau?
greetz
adme