LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2020, 12:06 PM   #1
garryjp
LQ Newbie
 
Registered: Jun 2020
Posts: 16

Rep: Reputation: Disabled
login/password


how you would log into a Linux host without knowing a valid login/password combination.
a. Would you be able to gain root/administrative access to this host? How would you do this?

Last edited by garryjp; 06-28-2020 at 04:05 PM.
 
Old 06-26-2020, 12:56 PM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,688

Rep: Reputation: Disabled
SSH Keys.
 
Old 06-26-2020, 12:57 PM   #3
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Homework question?
 
1 members found this post helpful.
Old 06-26-2020, 01:44 PM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,688

Rep: Reputation: Disabled
@sevendogsbsd. Almost. Interview questions.
 
1 members found this post helpful.
Old 06-26-2020, 01:44 PM   #5
garryjp
LQ Newbie
 
Registered: Jun 2020
Posts: 16

Original Poster
Rep: Reputation: Disabled
i m preparing my exam and some of the questions i need to make sure
 
Old 06-26-2020, 01:46 PM   #6
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
DELETED
 
Old 06-26-2020, 05:39 PM   #7
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by garryjp View Post
a. Would you be able to gain root/administrative access to this host? How would you do this?
This depends on factors outside of Linux. Centos has this approach: https://wiki.centos.org/TipsAndTricks/ResetRootPassword.

I suggest you learn how to do web searches, such as https://www.google.co.jp/search?q=linux+obtain+password.
 
Old 06-26-2020, 05:50 PM   #8
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,688

Rep: Reputation: Disabled
Unfortunately, the link to RHEL 7 instructions in CentOS Wiki is broken. Here is the procedure for RHEL 8.
 
Old 06-26-2020, 06:01 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,275

Rep: Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342
Do I have physical access to the machine, and am I physically able to stick a USB key in it and reboot it?
 
1 members found this post helpful.
Old 06-28-2020, 04:04 PM   #10
garryjp
LQ Newbie
 
Registered: Jun 2020
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thanks a lot
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] After 10 installation, login screen password fails. (rootuser works though) (login screen is not username password) studpenguin Debian 8 08-18-2019 12:32 PM
Unable to find Administrators password does not recognize my login password the only password I entered at setup of Linux scholarsgold Linux - Newbie 6 01-23-2018 03:58 PM
seen a Visual Password login for Linux? like the droids 9 circle password? szboardstretcher Linux - Software 3 03-07-2011 09:49 AM
Password Recovery in Edubuntu 7.04 - In Terminal, Root Login : su , password : ????? farhannaeem13 Linux - Security 3 11-30-2007 09:59 AM
How to set login and password and root password in suse 10.2 sirius57 SUSE / openSUSE 8 07-24-2007 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration