FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-12-2012, 06:11 AM
Jason Hsu
 
Default Why does useradd cause a GLib-CRITICAL error?

The script I'm using fails at the useradd command with the following message:
(gksudo:2942): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

The useradd command is:
self.do_run_in_chroot("useradd -s %s -c '%s' -G sudo -m %s" % ("/bin/bash", setup.real_name, setup.username))

More details are at http://forums.linuxmint.com/viewtopic.php?f=189&p=565740&sid=5c6825a8521aa1383 c649b74a7f70dc2#p565740 .

Exactly what is necessary to make sure that the useradd command works properly?

--
Jason Hsu <jhsu802701@jasonhsu.com>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120412011149.4b2421d9f31a9b2820063892@jasonhsu.c om">http://lists.debian.org/20120412011149.4b2421d9f31a9b2820063892@jasonhsu.c om
 
Old 04-12-2012, 03:49 PM
Camaleón
 
Default Why does useradd cause a GLib-CRITICAL error?

On Thu, 12 Apr 2012 01:11:49 -0500, Jason Hsu wrote:

> The script I'm using fails at the useradd command with the following
> message: (gksudo:2942): GLib-CRITICAL **: g_str_has_prefix: assertion
> `str != NULL' failed
>
> The useradd command is:
> self.do_run_in_chroot("useradd -s %s -c '%s' -G sudo -m %s" %("/bin/bash", setup.real_name, setup.username))
>
> More details are at
> http://forums.linuxmint.com/viewtopic.php?f=189&p=565740&sid=5c6825a8521aa1383 c649b74a7f70dc2#p565740
> .
>
> Exactly what is necessary to make sure that the useradd command works
> properly?

So it's "gksudo" who complains? :-?

I don't know what can be the problem. How you considered asking also at
"debian-devel" mailing list?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: jm6ti3$gu4$7@dough.gmane.org">http://lists.debian.org/jm6ti3$gu4$7@dough.gmane.org
 

Thread Tools




All times are GMT. The time now is 05:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org