Ernillew / wl500g

Automatically exported from code.google.com/p/wl500g
0 stars 0 forks source link

adduser with -u option #339

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to add user with specified UID
2. adduser -s /sbin/nologin -G www -H -u 48 www

What is the expected output? What do you see instead?
User is not created
adduser: illegal option -- u

What version of the product are you using?
RT-N16-1.9.2.7-rtn-r4330.trx

Please provide any additional information below.
Probably this option is supported in last versions of busybox as documentation 
on busybox contains option -u for adduser.
I need this to create users for my http server in pre-mount script, as this is 
the only option (AFAIK) to add new users permanently.

Original issue reported on code.google.com by myandr...@gmail.com on 7 Aug 2012 at 7:21

GoogleCodeExporter commented 9 years ago
Due to all settings stored in nvram + flashfs this utility useless in firmware 
itself. Use Entware or Optware.

Original comment by lly.dev on 13 Aug 2012 at 6:33