anandslab / AtoMiC-ToolKit

AtoMiC Toolkit simplifies HTPC / Home Server setup and management on Ubuntu and Debian variants including Raspbian. It currently supports: Couchpotato, Deluged, Emby, FFmpeg, Headphones, Htpcmanager, Jackett, Kodi, Lazylibrarian, Madsonic, Mono, Mylar, Nzbget, Nzbhydra, NzbToMedia, Ombi, Plex, Plexpy, Pyload, qBittorrent, Radarr, Sabnzbd+, Sickgear, Sickrage, Sonarr, Subsonic, Transmission, Unrar, Watcher, and Webmin.
https://www.smarthomebeginner.com
MIT License
842 stars 115 forks source link

username #169

Open Droidem opened 7 years ago

Droidem commented 7 years ago

I am trying to use your script to install files on my chmuranet seedbox. However, I am getting hung up on the second step, User information.

My login id to my server is different than what my server says. My login is tester (not really) and the folder is owner. This poses problems when trying to install the programs. When I do enter owner it will install however the programs will not run.

TommyE123 commented 6 years ago

Hi @Droidem

Sorry I've not got back to you regarding this problem, I've been at a bit of a lose as to how to fix this.

However working very recently with other users I've looked into this a bit more and think I may have to make some changes in order to get this to work. The toolkit assumes that the username matches the folder in the home dir. However its becoming apparent that there are scenarios which don't match this setup. I'm thinking we could do a check that if it doesn't match it either tries to find it or prompt for an entry.

Sorry again I've been unable to help further at the moment but will be looking to implement something soon.

Tom

bonyboy commented 6 years ago

@Droidem I had the same problem and was able to get around it by creating a home directory for the account I had created to execute this script.

mkhomedir_helper username

nemchik commented 6 years ago

I love symlinks. This may or may not work, but maybe you could try ln -s /home/owner /home/tester?