Author Topic: adduser with theKompany 1.0 rom?  (Read 2697 times)

tropic

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
adduser with theKompany 1.0 rom?
« 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
SL-5500
TheKompany ROM
Lexar 256MB SD card
Lexar 128MB CF card
Linksys WCF12 802.11b card
Billionton CF LAN card (great in hotels)
Targus Pocket Modem 56k V.90 card
Micro Innovations Keyboard (thanks cwaig)
WriteRite screen protector for Sony Clie 615 (fits perfectly)
Palm Tungsten-T stylus (better than the original because it telescopes)

raybert

  • Full Member
  • ***
  • Posts: 233
    • View Profile
adduser with theKompany 1.0 rom?
« Reply #1 on: March 11, 2004, 11:39:12 am »
Dumb question perhaps, but are you doing this as root?

~ray

tropic

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
adduser with theKompany 1.0 rom?
« Reply #2 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?
SL-5500
TheKompany ROM
Lexar 256MB SD card
Lexar 128MB CF card
Linksys WCF12 802.11b card
Billionton CF LAN card (great in hotels)
Targus Pocket Modem 56k V.90 card
Micro Innovations Keyboard (thanks cwaig)
WriteRite screen protector for Sony Clie 615 (fits perfectly)
Palm Tungsten-T stylus (better than the original because it telescopes)

jscriv

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://
adduser with theKompany 1.0 rom?
« Reply #3 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.

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
adduser with theKompany 1.0 rom?
« Reply #4 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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card