General NAS-Central Forums

Welcome to the NAS community
It is currently Wed Apr 26, 2017 12:04 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Can't add user
PostPosted: Sun Oct 19, 2014 3:39 pm 
Offline

Joined: Tue Sep 16, 2014 11:07 am
Posts: 9
I was trying to add user, but can't find what is wrong.
When I try to add user via manage page, i get something like "Unable to add user "username" "

When i try it on ssh level i stop on:
useradd: cannot lock /etc/group; try again later.


Does anyone have seen this problem before?


Top
 Profile  
 
 Post subject: Re: Can't add user
PostPosted: Sun Oct 19, 2014 5:11 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 5980
First hit on google: https://forums.gentoo.org/viewtopic-t-8 ... art-0.html


Top
 Profile  
 
 Post subject: Re: Can't add user
PostPosted: Mon Oct 20, 2014 6:23 am 
Offline

Joined: Tue Sep 16, 2014 11:07 am
Posts: 9
Unfortunaly there are no *.lock files in /etc/, and also i can't find them anywhere...

Besides I would very much like to add users using web management page no through ssh

my question is: Could FFP or something related to it, block adding users?


Top
 Profile  
 
 Post subject: Re: Can't add user
PostPosted: Mon Oct 20, 2014 12:29 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 5980
Quote:
Could FFP or something related to it, block adding users?
Not by design.
Quote:
Besides I would very much like to add users using web management page no through ssh
I guess both ways are blocked by the same cause. But the cause is easier to find in the command line.

You can try to execute
Code:
strace -o adduser.log adduser <args>
That will log all kernel access of adduser, and maybe it will tell you how adduser finds that /etc/group is locked.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group