added Ben's password placeholder entry kludge

このコミットが含まれているのは:
anselm@garbe.us 2012-04-15 11:58:16 +02:00
コミット 4b4fcca1bc
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -56,7 +56,7 @@ getpw(void) { /* only run as root */
rval = pw->pw_passwd;
#if HAVE_SHADOW_H
{
if (strlen(rval) >= 1) { /* kludge, assumes pw placeholder entry has len >= 1 */
struct spwd *sp;
sp = getspnam(getenv("USER"));
if(!sp)