[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

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

-- 
Jason Hsu <jhsu802701@jasonhsu.com>


Reply to: