Bug#570700: admin menus don't work if root is disabled

2010-02-22 Thread FEJES Jozsef
 Maybe d-i can set a debconf value that gksu would use to choose the
 default, but this might fall afoul of the 'Debconf is not a registry'
 policy.

It doesn't have to be a debconf setting, gksu can just check at install
time if there is a root password or not, and if there isn't, it should pick
sudo. Seems like a sensible default and doesn't bother the user with
a debconf question, or it could be a low priority warning or something.



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



Bug#570700: admin menus don't work if root is disabled

2010-02-22 Thread Josselin Mouette
Le dimanche 21 février 2010 à 19:05 +0100, Bill Allombert a écrit : 
 The setting of /apps/gksu/sudo-mode does not belong to menu, so I
 reassigne this bug to gksu.
 
 Ubuntu does not offer to set the root password, so it can always set
 /apps/gksu/sudo-mode to true unconditionnaly. Debian cannot do that.
 
 Maybe d-i can set a debconf value that gksu would use to choose the
 default, but this might fall afoul of the 'Debconf is not a registry'
 policy.

It's already an alternative, and AFAIK it is already set by the
installer when you choose to install in sudo mode.

Cheers,
-- 
 .''`.  Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `- future understand things”  -- Jörg Schilling




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



Bug#570700: admin menus don't work if root is disabled

2010-02-22 Thread FEJES Jozsef
 Maybe d-i can set a debconf value that gksu would use to choose the
 default, but this might fall afoul of the 'Debconf is not a registry'
 policy.

 It's already an alternative, and AFAIK it is already set by the
 installer when you choose to install in sudo mode.


I installed Debian squeeze from a netinst CD without a root password,
without Gnome. I installed Gnome some time after finishing the
installation, and gksu wasn't set up for sudo mode, it didn't ask me
IIRC. So you're saying that the installer CD would have set this up
automatically if I had chosen to install Gnome then?



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



Bug#570700: admin menus don't work if root is disabled

2010-02-22 Thread Josselin Mouette
Le lundi 22 février 2010 à 13:52 +0100, FEJES Jozsef a écrit : 
 I installed Debian squeeze from a netinst CD without a root password,
 without Gnome. I installed Gnome some time after finishing the
 installation, and gksu wasn't set up for sudo mode, it didn't ask me
 IIRC. So you're saying that the installer CD would have set this up
 automatically if I had chosen to install Gnome then?

Yes, it should if you install GNOME from the installer.

-- 
 .''`.  Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `- future understand things”  -- Jörg Schilling




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



Bug#570700: admin menus don't work if root is disabled

2010-02-21 Thread Bill Allombert
On Sat, Feb 20, 2010 at 08:19:32PM +0100, FEJES Jozsef wrote:
 Package: menu
 Version: 2.1.43
 Severity: important
 
 When I installed my system, I intentionally didn't specify a root password,
 which seemed to be a supported installation option. I created a normal user
 and I can use sudo just fine. But Gnome menus like
 System-Administration-Synaptic don't work: they ask for the root password,
 which doesn't exist, so I can never authenticate. I see that these menus
 invoke su-to-root -X, which has a variable named SU_TO_ROOT_X, but it doesn't
 support sudo or gksudo. Other menu items
 work like this so this should be fixed in the su-to-root script.

Hello Jozsef,
You need to configure GNOME/gksu to use sudo. This is necessary in any case
since some GNOME programs use gksu directly, and not su-to-root.
For that, you have to change the gconf key /apps/gksu/sudo-mode.

Cheers,
-- 
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#570700: admin menus don't work if root is disabled

2010-02-21 Thread FEJES Jozsef

Hello Jozsef,
You need to configure GNOME/gksu to use sudo. This is necessary in any case
since some GNOME programs use gksu directly, and not su-to-root.
For that, you have to change the gconf key /apps/gksu/sudo-mode.


Thank you, that worked. Could this be a default then, in case someone 
else installs Debian without a root password? Sudo was installed and 
configured automatically IIRC, it also just works in Ubuntu. So this is 
a wishlist priority instead.




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



Bug#570700: admin menus don't work if root is disabled

2010-02-21 Thread Bill Allombert
reassign 570700 gksu
retitle /apps/gksu/sudo-mode should be set by d-i.
On Sun, Feb 21, 2010 at 06:36:08PM +0100, FEJES Jozsef wrote:
 Hello Jozsef,
 You need to configure GNOME/gksu to use sudo. This is necessary in any case
 since some GNOME programs use gksu directly, and not su-to-root.
 For that, you have to change the gconf key /apps/gksu/sudo-mode.

 Thank you, that worked. Could this be a default then, in case someone  
 else installs Debian without a root password? Sudo was installed and  
 configured automatically IIRC, it also just works in Ubuntu. So this is  
 a wishlist priority instead.

Hello Jozsef,

The setting of /apps/gksu/sudo-mode does not belong to menu, so I
reassigne this bug to gksu.

Ubuntu does not offer to set the root password, so it can always set
/apps/gksu/sudo-mode to true unconditionnaly. Debian cannot do that.

Maybe d-i can set a debconf value that gksu would use to choose the
default, but this might fall afoul of the 'Debconf is not a registry'
policy.

Cheers,
Bill.



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



Bug#570700: admin menus don't work if root is disabled

2010-02-20 Thread FEJES Jozsef
Package: menu
Version: 2.1.43
Severity: important

When I installed my system, I intentionally didn't specify a root password,
which seemed to be a supported installation option. I created a normal user and
I can use sudo just fine. But Gnome menus like System-Administration-Synaptic
don't work: they ask for the root password, which doesn't exist, so I can never
authenticate. I see that these menus invoke su-to-root -X, which has a variable
named SU_TO_ROOT_X, but it doesn't support sudo or gksudo. Other menu items work
like this so this should be fixed in the su-to-root script.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages menu depends on:
ii  dpkg  1.15.5.6   Debian package management system
ii  install-info  4.13a.dfsg.1-5 Manage installed documentation in 
ii  libc6 2.10.2-2   GNU C Library: Shared libraries
ii  libgcc1   1:4.4.2-9  GCC support library
ii  libstdc++64.4.2-9The GNU Standard C++ Library v3

menu recommends no packages.

Versions of packages menu suggests:
ii  gksu  2.0.2-2+b1 graphical frontend to su

-- 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