LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-27-2015, 12:30 AM   #1
yogeshjadhav96
Member
 
Registered: Jul 2015
Location: Bangalore, India
Distribution: RHEL 7
Posts: 36

Rep: Reputation: Disabled
How to login root from normal user without password


Hi All,
Actually while using I have switch users several time. Is there any way to login root without password.
 
Old 08-27-2015, 12:33 AM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_12{.0|.1}
Posts: 5,284
Blog Entries: 11

Rep: Reputation: 3255Reputation: 3255Reputation: 3255Reputation: 3255Reputation: 3255Reputation: 3255Reputation: 3255Reputation: 3255Reputation: 3255Reputation: 3255Reputation: 3255
Nearly identical question from two users in rapid succession...

My guess is test question...
 
Old 08-27-2015, 12:56 AM   #3
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, KDE Neon, Arch, Void
Posts: 3,205

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Unless it's a anti-security 101 test, why would any test ask how to login as root without a password though? It's just...a HORRIBLE idea to do on anything that isn't isolated completely from being able to be touched physically or by network...
 
Old 08-27-2015, 01:05 AM   #4
yogeshjadhav96
Member
 
Registered: Jul 2015
Location: Bangalore, India
Distribution: RHEL 7
Posts: 36

Original Poster
Rep: Reputation: Disabled
Ok.. Not for all users... Is it possible for perticular users
 
Old 08-27-2015, 01:30 AM   #5
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 780
Blog Entries: 6

Rep: Reputation: 75
ssh-copy-id might work for you.
 
Old 08-27-2015, 01:33 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,456

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
log in as root without the root password on redhat ....
NO

bypass the login ? yes

boot into rescue mode / single user

but more that that is for different web sites
 
Old 08-27-2015, 03:33 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,945
Blog Entries: 9

Rep: Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540
Quote:
Originally Posted by astrogeek View Post
Nearly identical question from two users in rapid succession...
same person imho.
 
  


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] Give normal user root privileges and using same password. linustalman Linux - Security 7 08-11-2014 09:59 PM
Allow Normal User to Change Root Account Password Digistras Linux - Newbie 10 07-29-2014 11:27 AM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM
Can't login to FluxBox as normal user (only as root) gpl_racer Mandriva 7 05-11-2005 07:31 PM
Can't login in X as a normal user but root laxteryx Linux - General 2 11-09-2004 01:14 PM

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

All times are GMT -5. The time now is 06:32 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration