search for: getentfield

Displaying 1 result from an estimated 1 matches for "getentfield".

2008 Jan 23
7
generate with spaces?
.... I''m using 0.24.1 and I''ve run into a small snag. I''m trying to write some code to make sure user home directories exist for users in LDAP. I''m trying to get their uid, gid and home directory from getent with something like: $uid = generate("/usr/bin/getentfield passwd $title 3") getentfield is a bash script that basically does a getent $1 $2 | cut -d : -f $3. When I try running the generate, I get: Generators can only contain alphanumerics, file separators, and dashes I figured it might be a variable interpolation thing, so I tried taking $title...