"Username too long"

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

joisey04

Member
Jul 12, 2012
30
0
6
Please help,

I have a freshly installed Napp-it on OMNIOS.
I have imported all the pools from my old system and almost everything works perfect.

But when I try to add a user longer the 8char, I receive an error message. I'm positive that that worked on my insall before.
Any ideas?
I als get the error when I add a user from CMD with "useradd"
 

gea

Well-Known Member
Dec 31, 2010
3,172
1,197
113
DE
Please help,

I have a freshly installed Napp-it on OMNIOS.
I have imported all the pools from my old system and almost everything works perfect.

But when I try to add a user longer the 8char, I receive an error message. I'm positive that that worked on my insall before.
Any ideas?
I als get the error when I add a user from CMD with "useradd"
You should ask at the OmnoOS mailing list
OmniOS-discuss Info Page
 

joisey04

Member
Jul 12, 2012
30
0
6
ok,
asked at #omnios

if I do this on omnios cmd:
useradd -g staff -c '' -s /bin/false 'longusername'
the user is added to the system BUT doesnot show up in user mgmt in napp-it
(The too long message is a warning)

the command:
useradd -g staff -c '' -s /bin/false 'short' gets executed AND added to the napp-it user directory
 

gea

Well-Known Member
Dec 31, 2010
3,172
1,197
113
DE
ok,
asked at #omnios

if I do this on omnios cmd:
useradd -g staff -c '' -s /bin/false 'longusername'
the user is added to the system BUT doesnot show up in user mgmt in napp-it
y
If you add a user with napp-it, it creates a SMB passwort too.
(Napp-it userlist shows only user with SMB passwords, not basic Unix user)
 

joisey04

Member
Jul 12, 2012
30
0
6
correct, but smbadm creates an smb user
working from the command line but not out of napp-it

with smbadm addmember -m usernamelong group
I was able to add it - and it now shows also in napp-it