xffm and sudo

edscott wilson garcia edscott at lunar-linux.org
Sun Nov 9 20:59:20 CET 2003

On Sat, 2003-11-08 at 16:21, Eduard Roccatello wrote:
> On Saturday 08 November 2003 20:23, edscott wilson garcia wrote:
> > I've just enabled xffm to use sudo for sensitive commands (mount,
> > umount, pkg_add, pkg_update, burncd, cdrecord, and dpkg). If sudo needs
> > a password, a dialog will popup for the request.
> >
> > The most useful aspect of xffm with sudo is with fstab navigation, and
> > package management.
> i think this is a useful thing
> i've noticed that using samba xffm doesn't ask a user/password request if 
> the user that has been setted in prefs is wrong. can you confirm this 
> behaviour?

I cannot confirm it. If I put in a invalid user with the
xfce-mcs-setting, the query fails and the prompt for user/password
requests comes up.

> i think a prompt would be useful, doesn't it?

It should be there. There are a list of errors returned by smbclient,
specified in smb/smb_misc.c which provoke the prompt to come up:
char *challenges[]={
	  "Error opening local file",
	  "ERRbadpw", /* before samba 2.2.3 */



More information about the Xfce4-dev mailing list