[Solved] Ubuntu headless create admin user

cyb3rkn19ht
Posts: 4
Joined: Mon Aug 26, 2013 8:26 pm

[Solved] Ubuntu headless create admin user

Postby cyb3rkn19ht » Tue Mar 25, 2014 9:11 pm

Good evening.

I have been using amahi but wanted to move my amahi install to a virtual server.

I converted the machine I was running amahi on into a Proxmox virtual hypervisor and created a OpenVZ container for amahi.

I was able to make it all the way through the install and reboot.

I am now not able to login. Running first-admin can't find a admin user.

I created a user.

Code: Select all

mysql> select * from users; +----+-------+------+---------------------+---------------------+------------------+---------------+-------------------+-------------+---------------------+---------------+------------------+---------------+------------------+-------+ | id | login | name | created_at | updated_at | crypted_password | password_salt | persistence_token | login_count | last_request_at | last_login_at | current_login_at | last_login_ip | current_login_ip | admin | +----+-------+------+---------------------+---------------------+------------------+---------------+-------------------+-------------+---------------------+---------------+------------------+---------------+------------------+-------+ | 1 | root | root | 2014-03-26 03:32:12 | 2014-03-26 03:32:12 | nil | nil | NULL | 0 | 2014-03-26 03:32:12 | NULL | NULL | | | 1 | +----+-------+------+---------------------+---------------------+------------------+---------------+-------------------+-------------+---------------------+---------------+------------------+---------------+------------------+-------+
This user can't login to amahi though.

How do I create a user manually for amahi?

Thanks in advance,
Brooks

System Info:
Ubuntu 12.04.4 LTS
uname -a Linux hda 2.6.32-27-pve #1 SMP Tue Feb 11 16:18:29 CET 2014 i686 athlon i386 GNU/Linux
Last edited by cyb3rkn19ht on Wed Mar 26, 2014 6:45 pm, edited 1 time in total.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Ubuntu headless create admin user

Postby bigfoot65 » Wed Mar 26, 2014 5:41 am

Hello,

Did you name your user root? If so, that is reserved for Linux and should not be used. That may be why you are having issues.

You should not create users via command line after Amahi is installed or they won't be picked up by the platform.

Also you might consider moving to Amahi 7 since you are doing a new install. Ubuntu is not officially supported any longer.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

cyb3rkn19ht
Posts: 4
Joined: Mon Aug 26, 2013 8:26 pm

Re: Ubuntu headless create admin user

Postby cyb3rkn19ht » Wed Mar 26, 2014 4:27 pm

Thank you for your reply bigfoot65!

I looked at updating to Amahi 7 when it was first released. I read a few forum and blog posts and came to the conclusion that Ubuntu was the new focus of development. I was worried I would have to reinstall Amahi again once Amahi 8 was released. Is that a valid concern?

Or does the pros of Amahi 7 out weigh the con of having to reinstall later?

[ Post made via Android ] Image

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Ubuntu headless create admin user

Postby bigfoot65 » Wed Mar 26, 2014 4:36 pm

Hello,
I looked at updating to Amahi 7 when it was first released. I read a few forum and blog posts and came to the conclusion that Ubuntu was the new focus of development.

I was worried I would have to reinstall Amahi again once Amahi 8 was released. Is that a valid concern?
Our Ubuntu developer is working on a new release, but it will be a while. He is not full time as the Fedora developer. With the Amahi 7 or 8 pieces integrated, it will most likely require a new install. No guarantee that we will be releasing Ubuntu next.
Or does the pros of Amahi 7 out weigh the con of having to reinstall later?
I think the pros of Amahi 7 make it worth the install. I may be a bit biased, but it is a much cleaner and faster platform in my opinion. Not to mention the only apps and features being updated/added will be to the current release (Fedora 19).

It's your choice, but I would not bank on an upgrade with the new version of Ubuntu. Just like with Fedora, there are typically so many changes that a new install is required.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

cyb3rkn19ht
Posts: 4
Joined: Mon Aug 26, 2013 8:26 pm

Re: Ubuntu headless create admin user

Postby cyb3rkn19ht » Wed Mar 26, 2014 6:44 pm

Thanks, I will be installing Amahi 7!

Knowing there is a full time developer working on it adds a lot of value the fedora version.

[ Post made via Android ] Image

Who is online

Users browsing this forum: No registered users and 27 guests