diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-14 11:47:02 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-14 11:47:02 +0000 |
commit | c345d8e94589e3c74a9fac40f440affbc359c8d1 (patch) | |
tree | 2474ddafdbd9cd2f2209bf1d2de01e2488d0673e /loginutils/adduser.c | |
parent | 997aa1179e896642755631c73570ffdf43d304a1 (diff) | |
download | busybox-c345d8e94589e3c74a9fac40f440affbc359c8d1.tar.gz |
sulogin: add support for $SUSHELL & $sushell
Diffstat (limited to 'loginutils/adduser.c')
-rw-r--r-- | loginutils/adduser.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c index 8101b20b4..a99f47d68 100644 --- a/loginutils/adduser.c +++ b/loginutils/adduser.c @@ -114,11 +114,11 @@ static int adduser(struct passwd *p, unsigned long flags) file = xfopen(bb_path_shadow_file, "a"); fseek(file, 0, SEEK_END); fprintf(file, "%s:!:%ld:%d:%d:%d:::\n", - p->pw_name, /* username */ - time(NULL) / 86400, /* sp->sp_lstchg */ - 0, /* sp->sp_min */ - 99999, /* sp->sp_max */ - 7); /* sp->sp_warn */ + p->pw_name, /* username */ + time(NULL) / 86400, /* sp->sp_lstchg */ + 0, /* sp->sp_min */ + 99999, /* sp->sp_max */ + 7); /* sp->sp_warn */ fclose(file); #endif |