Re: Debconf code for getting usernames list

2014-10-23 Thread Simon McVittie
On 23/10/14 11:50, Nikos Andrikos wrote: > What is the proper way to check that each member of the $RET list is a > valid username and if not prompt the user to specify a new correct > list? This might be helpful: # usage: if is_username_valid root; then echo yes; fi is_username_valid () { ge

Debconf code for getting usernames list

2014-10-23 Thread Nikos Andrikos
Hi, I am the maintainer of the kismet package and on installation time I need to ask for the user to specify which users should go in the kismet group, which is used in order to avoid running kismet as root. Currently [1] this is done like this : addgroup --quiet --system $GROUP db_get kismet/ins