Admin login goes to change password screen [solved]

Don't miss a thing. Post your questions and discussion about other uncategorized NAS features here.
Post Reply
Phuture
New here
Posts: 2
Joined: Mon Sep 06, 2010 8:02 pm

Admin login goes to change password screen [solved]

Post by Phuture » Mon Aug 15, 2011 1:33 pm

Heya!

Not sure what I did but when ever I login as admin to the web manager on my TS410 I just get taken to the change password screen. I've tried pressing the reset button for 3 seconds which reset the admin password etc however I'm still getting the same problem when I try to login. I also cant get into the configure section using the qnap finder. I think it's because the admin account no longer belongs to the administrators group? However I'm not sure how to add it back in without the web panel. I can however log in to SSH but as I'm a linux nub I'm not sure how to do it, is there a way I can add the admin account back into the administrators group via command line?

Thanks in advance! :mrgreen:

----------------------------- Solution that solved the problem ------------------------------------

Just had a response from Support they recommended the following action :

"You can try to restore the default setting back , there are 3 setting you can try"

/etc/default_config/shadow
/etc/default_config/password
/etc/default_config/group

To current setting

/etc/config/

I replaced the 3 items in /etc/config with the default ones and I'm back up and running :)
Last edited by Phuture on Tue Aug 16, 2011 4:07 pm, edited 1 time in total.

NocturnalFilth
Getting the hang of things
Posts: 55
Joined: Mon Aug 01, 2011 5:24 am

Re: Admin login goes to change password screen

Post by NocturnalFilth » Tue Aug 16, 2011 2:52 am

do cat /etc/group and cat /etc/passwd and it should show you the groups the admin account belongs to now.

it should give you an output like this:
admin:x:0:0:administrators:/share/homes/admin:/bin/sh
where admin is the user, administrators the group.
It will do this for every user/group
Mark

Phuture
New here
Posts: 2
Joined: Mon Sep 06, 2010 8:02 pm

Re: Admin login goes to change password screen

Post by Phuture » Tue Aug 16, 2011 6:34 am

Thanks Mark :) below is what I get for each of the commands. So it shows that admin is still part of the administrators group then? So I'm now completely unsure as to why I cant get into the web admin panel :(

[/] # cat /etc/group
# m h dom m dow cmd
0 4 * * * /sbin/hwclock -s
0 3 * * * /sbin/vs_refresh
0 3 * * 0 /etransmission:x:1:
administrators:x:2:

[/] # cat /etc/passwd
admin:x:0:0:administrators:/share/homes/admin:/bin/sh
guest:x:65534:65534:guest:/share/homes/guest:/bin/sh
httpdusr:x:99:100:Apache httpd user:/tmp:/bin/sh

Post Reply

Return to “Miscellaneous”