Hi
Is it possible to enable SFTP/FTP with root access for the default KeyHelp administrator (keyadmin)?
Does this have to be done via the command line?
Currently I am logging on SFTP with root.
Thanks
P.S. I usually live in the Windows world.
How to SFTP or FTP into my server with keyadmin [SOLVED]
Re: How to SFTP or FTP into my server with keyadmin
Command line is commonly used by server administrators for tasks like these.
If you're more familiar with Windows, working directly on the server via sftp might feel unfamiliar. It would help if you shared more details about what you aim to accomplish. There might be alternative methods that are more comfortable for you.
For clarity:
- Logging in as root can be secure if password-based authentication is disabled.
- The KH Panel-Admin doesn't have an actual account.
Code: Select all
grep <adminname> /etc/passwd
I'm curious, why do you want access with your panel account specifically? Is there a reason you're hesitant about using the root account?
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: How to SFTP or FTP into my server with keyadmin
I wanted to login to the filesystem so I could delete the password file (keyhelp_login_data_2023-10-25_15-56-06) that is created during the installation as it holds usernames and passwords. I managed to login using root of SFTP after I remembered that I had enabled root in the ubuntu setup..
SSH is not exposed to the internet and never will be.
I wanted to disable the root account for security so I thought I would use the keyadmin account. I just assumed it was an Ubuntu user.
So I am guessing that all KeyHelp users are not Ubunutu users.
Is it safe to disable root after installation, it does not mention this in the setup instructions?
SSH is not exposed to the internet and never will be.
I wanted to disable the root account for security so I thought I would use the keyadmin account. I just assumed it was an Ubuntu user.
So I am guessing that all KeyHelp users are not Ubunutu users.
Is it safe to disable root after installation, it does not mention this in the setup instructions?
Re: How to SFTP or FTP into my server with keyadmin
Then just delete the file.shoulders wrote: ↑Wed 25. Oct 2023, 23:54 I wanted to login to the filesystem so I could delete the password file (keyhelp_login_data_2023-10-25_15-56-06) that is created during the installation as it holds usernames and passwords. I managed to login using root of SFTP after I remembered that I had enabled root in the ubuntu setup..
That is the way to administrate a real server.
If you prefer a Windows-"Server", there might be better choices for you, where you could play with RDP and the mouse.
- Set the password to something weird in/etc/shadow.
- Set the shell to /bin/nologin
or whatever you like.
Unfortunately, many are using this brain-dead Debian copy.
How did you install it?
On a regular setup, you have to tweak Ubuntu just to repair the root account, by default it's broken.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: How to SFTP or FTP into my server with keyadmin
i used Ubunutu and the root account to install.
thanks for the info
thanks for the info
Re: How to SFTP or FTP into my server with keyadmin [SOLVED]
All KeyHelp admin accounts (keyadmin, and all the ones you might create) are just virtual users, which only exists within the database of KeyHelp.
They have no system-user counter part.
All regular KeyHelp user accounts exists on the system with the same username (have a look into /etc/passwd for example).
If you would like to have an additional system user account with root/sudo privileges, you have to create it manually via the command line.
They have no system-user counter part.
All regular KeyHelp user accounts exists on the system with the same username (have a look into /etc/passwd for example).
If you would like to have an additional system user account with root/sudo privileges, you have to create it manually via the command line.
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: How to SFTP or FTP into my server with keyadmin
Perfect answerAlexander wrote: ↑Thu 26. Oct 2023, 10:43 All KeyHelp admin accounts (keyadmin, and all the ones you might create) are just virtual users, which only exists within the database of KeyHelp.
They have no system-user counter part.
All regular KeyHelp user accounts exists on the system with the same username (have a look into /etc/passwd for example).
If you would like to have an additional system user account with root/sudo privileges, you have to create it manually via the command line.