Results 1 to 9 of 9

Thread: How to programmatically try logging into Ubuntu 20.04

  1. #1
    Join Date
    Jan 2021
    Beans
    12

    How to programmatically try logging into Ubuntu 20.04

    Lets imagine our workstation is been locked out. What are the commands or programmatic way to try logging into Ubuntu 20.04.

  2. #2
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,824
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: How to programmatically try logging into Ubuntu 20.04

    Forum policy doesn't allow us to tell you how to brute force a password, but I can direct you this this guide, telling how to reset your password: https://help.ubuntu.com/community/LostPassword

  3. #3
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,792

    Re: How to programmatically try logging into Ubuntu 20.04

    If you want to connect to a workstation over a network, use SSH.

    If you forgot your password, boot into Single User Mode and reset the password.

  4. #4
    Join Date
    Jan 2021
    Beans
    12

    Re: How to programmatically try logging into Ubuntu 20.04

    Im not brute forcing the password. I just wanna know which maybe if there is a bash shell script that is capable of being an exe which can be accessed from cmdline?

  5. #5
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,792

    Re: How to programmatically try logging into Ubuntu 20.04

    Yes, it is called ssh. Read the Snailbook.
    http://www.snailbook.com/

  6. #6
    Join Date
    Jan 2021
    Beans
    12

    Re: How to programmatically try logging into Ubuntu 20.04

    ya thats fine. But is it possible to anyone who doesnt have access to my system to successfully trying ssh into mine, and if so how do they generally do it. What methods do they use to break in? First of all the IP address doesnt stay constant and must mostly be the DHCP address. Also mostly the external adversaries must be able to access only my ISPs address. So how would they find mine within the subnet?
    Last edited by shyam1287; February 15th, 2021 at 06:12 PM.

  7. #7
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How to programmatically try logging into Ubuntu 20.04

    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  8. #8
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,792

    Re: How to programmatically try logging into Ubuntu 20.04

    There are script kiddies that will try tens of thousands of logins per hour and run alphabetically through all entries in large dictionaries of user names and passwords. Generally, if you don't use the default SSH port number and use a long password of 14 characters or more, then you are safe.

  9. #9
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to programmatically try logging into Ubuntu 20.04

    You start off by asking us to imagine someone locked out of a workstation. There is a way to overcome that if a person has physical access to the machine. Now. you have moved on to asking us how to access an computer remotely. You seem to already know something about this. If you need assistance in securing a machine, then this forum can help you. But as stated above it is against forum policy to advise on how security can be broken.

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •