Skip to main content
10 events
when toggle format what by license comment
Sep 27, 2013 at 14:17 comment added cjm The shell expands $DATAFILE when you type that command, not when lpd executes zenity. You need to put the zenity command into a shell script, and have lpd call that script. Then $DATADIR will be expanded at the right time.
Sep 27, 2013 at 12:24 comment added ManuelSchneid3r Now I am at the point where I get into trouble. $BUSY/busybox tcpsvd -u manuel:manuel -E 0 515 $BUSY/busybox lpd /var/spool zenity --error --text "$DATAFILE" returns nothing. $DATAFILE is set by lpd. lpd is run as manuel but the environment is root. How do I change this behaviour?
Sep 27, 2013 at 11:39 comment added ManuelSchneid3r Thats fine thank you. I hoped to find a way to do it in a more generic way with su,sudo,etc.
Sep 27, 2013 at 11:38 vote accept ManuelSchneid3r
Sep 26, 2013 at 22:12 history edited Martin von Wittich CC BY-SA 3.0
Improved title and wording
Sep 26, 2013 at 19:31 comment added cjm It says right there: "-u USER[:GRP] Change to user/group after bind". What more did you need?
Sep 26, 2013 at 19:22 history edited ManuelSchneid3r CC BY-SA 3.0
deleted 49 characters in body
Sep 26, 2013 at 19:18 answer added cjm timeline score: 4
Sep 26, 2013 at 19:14 history edited ManuelSchneid3r CC BY-SA 3.0
added 17 characters in body
Sep 26, 2013 at 18:59 history asked ManuelSchneid3r CC BY-SA 3.0