4MLinuxThis forum is for the discussion of 4MLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please leave this root alone. You are able to add a new user in the way described by @rtmistler, but you would also have to grant privileges to this new user. It's not easy when you must do it with BusyBox.
PS.
4MLinux automatically creates users (and sets their privileges) for server software and some desktop applications (e.g. Chrome).
Oops!
There is no "useradd" applet in BusyBox. The "adduser" applet must be used instead.
Reason #237 for "Why I hate Busybox"
OK I'm exaggerating.
Honestly over recent years I've given it some thumbs up because it's seemed to have improved and really followed the system commands way better. Example years ago things like ls, or grep did not adhere to the real system calls and hence if you used them in a script you could not use certain features, sometimes the very features you needed. But that was like 10+ years ago and I've encountered it on systems and found it to be improved.
Good detection zk1234! I'm disappointed that they felt necessary to swap the command name around though.
They didn't just swap the name around. Useradd and adduser do things differently. Adduser is easier to use, since it's interactive and does more and better housekeeping. Useradd isn't used as much these days, AFAICT. I haven't bothered with it in years.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.