Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Thank-you to fonz and everyone who helps out with fun_plug.
I'm trying to install 0.7 on DNS-323 following a guide (thanks Uli) that seems popular at :
http://nas-tweaks.net/40/installation-o … many-more/
Not sure if this installation procedure works for 0.7 or not.
When I try to issue the command "pwconv" through telnet it replies with the error :
pwconv: failed to change the mode of /etc/passwd- to 0600
Can someone give me a hand with this or suggest a different guide ?
Thank-you
Offline
I have this exact problem and no one seems to be able to provide an answer. I've searched but unfortunately i still do not understand how to fix it.
EDIT: Okay, i found out where the problem is. But i'm not sure if my method will actually break the purpose of pwconv. But i get no errors so i assume it should be okay. Let's see.
I actually found this in the source code of pwconv.
/* /etc/passwd- (backup file) */ if (chmod (PASSWD_FILE "-", 0600) != 0) { fprintf (stderr, _("%s: failed to change the mode of %s to 0600\n"), Prog, PASSWD_FILE "-"); SYSLOG ((LOG_ERR, "failed to change the mode of %s to 0600", PASSWD_FILE "-")); /* continue */ }
So in this case, i am assuming pwconv is supposed to backup passwd before it makes any changes or there is supposed to be a passwd backup file in the first place. I'm not sure.
The reason it's giving this error is because the file "passwd-" obviously doesn't exist and it's valid. So what i did was all the same steps, install fun_plug.tgz via the normal way and once installed. I telnet into the box and i cd to the etc directory. Then i just "cp passwd passwd-" and then i cd / and then pwconv. You'll notice that there won't be an errors.
tl;dr version:
#Before you run pwconv cd etc cp passwd passwd- cd / pwconv
Last edited by Komano (2012-03-14 11:06:20)
Offline
Thank-you for your reply Komano. I'll give it a try later tonight.
Offline
Your instructions work Komano. Everything seemed to work but I'm getting a permission denied reply when I try to log in to ssh.
Offline
I'm not sure about that but i've never experienced that. Maybe you wanna try some of the ffp 0.5 guides instead?
Offline
After I got
forestcomber wrote:
pwconv: failed to change the mode of /etc/passwd- to 0600
I just used pwunconv. Than passwd and everything was working as expected.
Offline