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=5c6825a8521aa1383c649b74a7f70dc2#p565740
 .

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

-- 
Jason Hsu <jhsu802...@jasonhsu.com>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120412011149.4b2421d9f31a9b2820063...@jasonhsu.com

Reply via email to