aboutsummaryrefslogtreecommitdiff
path: root/loginutils/adduser.c
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-02 02:36:18 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-02 02:36:18 +0000
commitdc4e75ef7ca135c836d22e380847672cf5b3773b (patch)
treed2ff4fef7b9192de63761935103699569ecbb2ee /loginutils/adduser.c
parent005f83adf511ab89296639abbef737ad4e5826f9 (diff)
downloadbusybox-w32-dc4e75ef7ca135c836d22e380847672cf5b3773b.tar.gz
busybox-w32-dc4e75ef7ca135c836d22e380847672cf5b3773b.tar.bz2
busybox-w32-dc4e75ef7ca135c836d22e380847672cf5b3773b.zip
move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one
constant. Vodz last_patch_107
Diffstat (limited to 'loginutils/adduser.c')
-rw-r--r--loginutils/adduser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c
index 41dc9f019..c4ab557d0 100644
--- a/loginutils/adduser.c
+++ b/loginutils/adduser.c
@@ -53,7 +53,6 @@ typedef struct {
53static const char default_passwd[] = "x"; 53static const char default_passwd[] = "x";
54static const char default_gecos[] = "Linux User,,,"; 54static const char default_gecos[] = "Linux User,,,";
55static const char default_home_prefix[] = "/home"; 55static const char default_home_prefix[] = "/home";
56static const char default_shell[] = "/bin/sh";
57 56
58#ifdef CONFIG_FEATURE_SHADOWPASSWDS 57#ifdef CONFIG_FEATURE_SHADOWPASSWDS
59/* shadow in use? */ 58/* shadow in use? */
@@ -257,7 +256,7 @@ int adduser_main(int argc, char **argv)
257 const char *login; 256 const char *login;
258 const char *gecos = default_gecos; 257 const char *gecos = default_gecos;
259 const char *home = NULL; 258 const char *home = NULL;
260 const char *shell = default_shell; 259 const char *shell = DEFAULT_SHELL;
261 const char *usegroup = NULL; 260 const char *usegroup = NULL;
262 int flags; 261 int flags;
263 int setpass = 1; 262 int setpass = 1;