Juzzotec Posted February 16, 2016 Share Posted February 16, 2016 Hi Guys Please help me add root user back into my passwd file.. I accidently removed the root line from both passwd and shadow file. Long story short, Im not left only with a user account. Quote Link to comment
trurl Posted February 16, 2016 Share Posted February 16, 2016 You can delete those files and they will be recreated when you reboot. Quote Link to comment
Juzzotec Posted February 16, 2016 Author Share Posted February 16, 2016 I tried that but it didnt work, unraid reloads with no passwd or shadow files. Quote Link to comment
trurl Posted February 16, 2016 Share Posted February 16, 2016 I tried that but it didnt work, unraid reloads with no passwd or shadow files. Where did you delete them from? They are in the config folder of your flash drive. Quote Link to comment
Frank1940 Posted February 16, 2016 Share Posted February 16, 2016 You may have to check to see that your Flash Drive is not corrupted. Most people use chkdsk in a Windows machine to do this. Quote Link to comment
Juzzotec Posted February 16, 2016 Author Share Posted February 16, 2016 I tried that but it didnt work, unraid reloads with no passwd or shadow files. Where did you delete them from? They are in the config folder of your flash drive. Yes I can try it again now, Im doing it through smb share.. flash and then config folder. You may have to check to see that your Flash Drive is not corrupted. Most people use chkdsk in a Windows machine to do this. I'll check that next.. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.