SOLVED: Accessing the Shared Folders

Sqwirtle
Posts: 10
Joined: Mon Feb 17, 2014 8:50 am

Re: SOLVED: Accessing the Shared Folders

Postby Sqwirtle » Mon Feb 17, 2014 5:20 pm

Ahhh! That worked except for the fact that when I went to recreate the original username, it told me that it "already exists in system"

I think I may just bite the bullet and pick a different username

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

Re: SOLVED: Accessing the Shared Folders

Postby bigfoot65 » Mon Feb 17, 2014 5:26 pm

You probably have to manually remove it as well via command line.
ßîgƒσστ65
Applications Manager

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

wardlee
Posts: 3
Joined: Sat Jul 05, 2014 8:51 am

Re: SOLVED: Accessing the Shared Folders

Postby wardlee » Sun Jul 06, 2014 7:45 am

I was ready to dump Amahi as I have spent two days trying to get everything working on my new server. Thought I would try a one last search on the forums and ran across this thread.

The issues here are exactly as I am experiencing but have not found a resolution.
I have checked all Windows user IDs, signed in and out of Amahi and changed users multiple times...nothing is working.

This thread did get me to the point of being able to sign into my hda, but still cannot save to files or create new folders.

Any help?

Thanks

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

Re: SOLVED: Accessing the Shared Folders

Postby bigfoot65 » Sun Jul 06, 2014 7:58 am

Verify that /var/hda/files are owned by your 1st admin user:users. If not, you can correct it by doing this as root user:

Code: Select all

chown -R 1st admin user:users /var/hda/files
Replace 1st admin user with the name of your user.
ßîgƒσστ65
Applications Manager

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

Mumrik
Posts: 3
Joined: Mon Dec 29, 2014 1:15 am

Re: SOLVED: Accessing the Shared Folders

Postby Mumrik » Mon Dec 29, 2014 1:16 am

You probably have to manually remove it as well via command line.

How?


Exact same situation here after a fresh express CD install.

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

Re: SOLVED: Accessing the Shared Folders

Postby bigfoot65 » Mon Dec 29, 2014 3:36 am

Please provide details of your problem if you would like assistance?
ßîgƒσστ65
Applications Manager

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

Mumrik
Posts: 3
Joined: Mon Dec 29, 2014 1:15 am

Re: SOLVED: Accessing the Shared Folders

Postby Mumrik » Mon Dec 29, 2014 3:52 am

Please provide details of your problem if you would like assistance?

As I wrote. I have the exact same problem as the OP in this thread.

My original account is somehow not able to open shares, any new accounts are. I've deleted the original account from the HDA Dashboard (which no longer shows it), but any attempt at making a new account with the same name as the deleted account results in "already exists in system". Exactly the same as Sqwirtle. Your advice to him was to manually remove the account through the command line too - I'm asking how to do that.


edit:

# finger [username] shows the login, real name, directory and shell

# userdel [username]
and
# userdel -r [username] result in user [username] does not exist.

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

Re: SOLVED: Accessing the Shared Folders

Postby bigfoot65 » Mon Dec 29, 2014 7:57 am

Are you running the userdel command as root user?

What you might be able to do is install Webmin. Use this to remove the user from Linux and ensure it's removed from Samba as well. Once that is done, you should be able to create the user via the Amahi dashboard.

The only valid way to add/remove users is using the Amahi dashboard. Cleanup of remaining files and such would need to be removed manually, but that is done as a precaution to prevent accidental deletion of files.

I would like to caution you that this app can cause issues if you are not careful. If you do not want to try this method, then only other option would be to create a user with a different name.
ßîgƒσστ65
Applications Manager

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

Mumrik
Posts: 3
Joined: Mon Dec 29, 2014 1:15 am

Re: SOLVED: Accessing the Shared Folders

Postby Mumrik » Mon Dec 29, 2014 10:50 am

Yup, I was root when I tried that, and before I only used the Dashboard.

I'll take a look at your link, thanks. Oh, $5... I'm not going to start spending money before this works to begin with. Thanks anyway.

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

Re: SOLVED: Accessing the Shared Folders

Postby bigfoot65 » Mon Dec 29, 2014 11:03 am

Understand. To verify if the user directories are still present, do the following as root user:

Code: Select all

ls -al /home/user
If the directory still exists, you can remove it as follows:

Code: Select all

rm -rf /home/user
You can also do and look for the user name:

Code: Select all

cat /etc/passwd
You can manually delete that line if it's still present.

Did you reboot and then try removing the user? I am surprised that it did not work if you removed the user via the Amahi dashboard. I presume you used a different user to SSH into the HDA.
ßîgƒσστ65
Applications Manager

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

Who is online

Users browsing this forum: No registered users and 54 guests