OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: tropic on March 10, 2004, 11:55:38 pm

Title: adduser with theKompany 1.0 rom?
Post by: tropic on March 10, 2004, 11:55:38 pm
I\'ve been trying to add myself as a regular user using the adduser command, but it errors out with this message:

Usage: adduser {OPTIONS} (user_name)

I\'ve tried adding a user in the following ways:

adduser tropic

adduser -s /bin/bash tropic

No luck.  

Busybox is version 0.60.4.  Tinylogin is version 1.2.

Has anyone else run into this?  In the other roms I\'ve used this was never an issue.

TIA,

tropic
Title: adduser with theKompany 1.0 rom?
Post by: raybert on March 11, 2004, 11:39:12 am
Dumb question perhaps, but are you doing this as root?

~ray
Title: adduser with theKompany 1.0 rom?
Post by: tropic on March 11, 2004, 02:02:31 pm
Yes, there\'s no other way, since I haven\'t created any other users yet.  The bash prompt indicates that I\'m root, and a quick whoami also says so.

Is there another way to easily add users besides the adduser command?
Title: adduser with theKompany 1.0 rom?
Post by: jscriv on April 19, 2004, 11:54:57 pm
Howdy,

Have just struck this problem myself - wanted to create some demo accounts for people to ssh to my Z with and have a play without giving them root.

Found a google news post to suggest that the adduser code was broken in tinylogin, and now see that there is a release of tinylogin 1.4  

(http://tinylogin.busybox.net/)

Anyone built it for the Z yet?

Cheers,

Jeremy.
Title: adduser with theKompany 1.0 rom?
Post by: Stubear on April 20, 2004, 01:12:38 am
You can always do it the old way and add the user to /etc/passwd and /etc/shadow by hand.

Stu