After Setup Cannot Login to Amahi
-
- Posts: 1
- Joined: Sat Aug 14, 2010 10:00 am
After Setup Cannot Login to Amahi
I followed the installation instructions as provided on this site; however, when i click the Amahi HDA Dashboard and attempt to login the page tells me I have entered the incorrect user name or password. I have double checked my user name and password under account information on my desktop, but I still get the same error. Is there a way to have your user name and password e-mailed to you?
Re: After Setup Cannot Login to Amahi
if you can get to the command line, login as root and then try:
If you get no result, use:
Once that's done, you should be able to login to the web ui.
Musing out loud - A relatively simple boot-time sanity-check script could be included in Amahi to check for this account, and if it's not found it can be added with a generic password. Something like (really raw off the top of my head)...
/bin/sh syntax might be [ $? == 1 ], again off the top of my head...
Code: Select all
grep admin /etc/passwd
Code: Select all
useradd admin && passwd admin
Musing out loud - A relatively simple boot-time sanity-check script could be included in Amahi to check for this account, and if it's not found it can be added with a generic password. Something like (really raw off the top of my head)...
Code: Select all
#!/bin/sh
#
grep -w admin /etc/passwd
if [ $? = 1 ]
then
useradd -p `openssl passwd -crypt admin` admin
else
sed -i -e '/admin.check.script.sh/d' /etc/rc.local
fi
Who is online
Users browsing this forum: No registered users and 34 guests