-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEAT: Add user authentication for network services #998
Conversation
sdcard is password protected by default (pw smbOnion) needs work.
bftpd now uses the user "onion" from the new passwd file (provided it's mounted)
dropbear now uses any user from the new passwd file (provided it's mounted)
telnetd now uses any user from the new passwd file (provided it's mounted) - however to note; telnetd will run the /etc/profile script again when you login - we should consider mounting this script and adding a tracking file somewhere (a .run_script_once check). It's harmless when logged in as a none root user, but when logged in as root it will cause problems.
Will not be required when we fully move over to /etc/passwd
Add a little welcome message :)
this caused toggling the share to mess up the config
This checklist is stale due to other changes. |
need to remove telnet auth in tweaks still.. working on it |
actually change root password to '' this time
Remve unneeded telnet menu and put telnet at the bottom (because it is the only item without submenus
Test checklist complete - made 1 change to fix EOL for passwd & group on 8468730 Wiki draft page updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran full checklist twice, works as expected.
When merged wiki entries for auth section on:
- Samba
- Telnet
- SSH
- FTP
Need updating
This allows for password-authed SMB-shares and can also be used in other network services for authentication.
Remount /etc/passwd and /etc/group to files we have control over, manually added the user and group to the files.
Password generated using mkpasswd.
user:password = onion:onion
SSH/FTP/SMB now use this user for authentication.
Test process
Preparation
SMB
HTTP
SSH
FTP
Telnet