Bug#743789:

2020-12-12 Thread Elvis Edorh
Pozdrav,
molim vas prihvatite moje isprike. Ne želim zadirati u vašu privatnost,
napisao sam vam raniji e-mail, ali bez odgovora. U prvom sam vam e-mailu
spomenuo svog pokojnog klijenta koji je umro 30. prosinca 2013, od njegove
smrti primio sam nekoliko pisama iz banke kod koje je dao depozit prije
njegove smrti, banka je tražila da mu pružim najbližeg rođaka ili nekoga od
njegove rodbine koji mogu zatražiti njegova sredstva ili će ih banka
zaplijeniti, jer nisam uspio pronaći nijednog od njegov rođak, stoga sam
vas kontaktirao zbog ove tvrdnje, jer imate isto prezime s njim. Nakon
vašeg odgovora dat ću vam detalje i postupke transakcije
Čekam vaš odgovor

Elvis Edorh


Bug#743789: menu: su-to-root fails to execute calls with multiple commands in one line

2014-04-29 Thread Bill Allombert
On Sun, Apr 06, 2014 at 04:21:10PM +0200, Ivan Pozderović wrote:
 Package: menu
 Version: 2.1.46
 Severity: normal
 
 Hello,
 
 it seems su-to-root wrapper script doesn't handle well calls which use 
 multiple commands.

Hello Ivan,
the issue is not so much the su-to-root script but rather the underlying su 
engines
which may have different calling convention.

I cannot help but think that using multiple commands in a single su-to-root
invocation is pushing the design too far.

 Scenario where I've discovered this:
 After installing system-config-lvm package (1.1.16-1), the utility doesn't 
 run under a non-root user (using standard GNOME 3.4). It tries to run the 
 following command:
 su-to-root -X -c invoke-rc.d lvm2 start ; 
 /usr/share/system-config-lvm/system-config-lvm.py;
 
 It seems that without invoking a shell to handle the two commands only the 
 first will be run under root privilages.
 
 Here's a fix using printf that seems to correct the problem (only for gksu, 
 which is used in wheezy):
 @@ -105,3 +105,3 @@
  case $SU_TO_ROOT_X in
 -  gksu) gksu -u $PRIV $COMMAND;;
 +  gksu) gksu -u $PRIV sh -c $(printf %q $COMMAND);;
gksudo) gksudo -u $PRIV $COMMAND;;
 
 p.s. if this is more of a gksu issue, please forward where necessary

Well, it would be useful to compare the behavior of all the su- variants.

Thanks for using Debian menu!
-- 
Bill. ballo...@debian.org

Imagine a large red swirl here. 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#743789: menu: su-to-root fails to execute calls with multiple commands in one line

2014-04-06 Thread Ivan Pozderović
Package: menu
Version: 2.1.46
Severity: normal

Hello,

it seems su-to-root wrapper script doesn't handle well calls which use multiple 
commands.

Scenario where I've discovered this:
After installing system-config-lvm package (1.1.16-1), the utility doesn't run 
under a non-root user (using standard GNOME 3.4). It tries to run the following 
command:
su-to-root -X -c invoke-rc.d lvm2 start ; 
/usr/share/system-config-lvm/system-config-lvm.py;

It seems that without invoking a shell to handle the two commands only the 
first will be run under root privilages.

Here's a fix using printf that seems to correct the problem (only for gksu, 
which is used in wheezy):
@@ -105,3 +105,3 @@
 case $SU_TO_ROOT_X in
-  gksu) gksu -u $PRIV $COMMAND;;
+  gksu) gksu -u $PRIV sh -c $(printf %q $COMMAND);;
   gksudo) gksudo -u $PRIV $COMMAND;;

p.s. if this is more of a gksu issue, please forward where necessary

Regards,
Ivan

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages menu depends on:
ii  dpkg  1.16.12
ii  install-info  4.13a.dfsg.1-10
ii  libc6 2.13-38+deb7u1
ii  libgcc1   1:4.7.2-5
ii  libstdc++64.7.2-5

menu recommends no packages.

Versions of packages menu suggests:
ii  gksu   2.0.2-6
pn  menu-l10n  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org