LinuxQuestions.org
Help answer threads with 0 replies.
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 04-08-2017, 07:15 AM   #16
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,852
Blog Entries: 2

Rep: Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312

If it is your shiny new operating system and not for pen testing please put your credit card here: __________________ __\__ ___ ‽‽‽
 
Old 04-08-2017, 08:14 AM   #17
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,928
Blog Entries: 1

Rep: Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832
Various ways to change a password without requiring the password.

1) boot another distro and chroot to the install and use passwd

2) boot in singleuser mode and use passwd. Requires changing the boot parameters from the bootloader.

3) exploit one of the many vulnerabilities in linux.

Or just don't forget your password. Or have multiple users with multiple passwords so forgetting 10% of them doesn't leave you stranded (like most gamers have for their favorite game). With physical security, write your passwords down. On a sticky note stuck to the monitor. Although big brother doesn't believe in physical security. And definitely not best practices. So use industry standards and have password as your password. Or the username backwards (UID: root, PWD: toor) if you're paranoid.
 
1 members found this post helpful.
Old 04-08-2017, 08:54 AM   #18
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,135

Rep: Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927
Quote:
Originally Posted by Safeway44 View Post
My password seems to be incorrect. Is there a way to reset it? I'm using latest Kali with CD.
this is just a thought.

other sights have a means to reset passwords. they use to just tell you what your password is. so you can use it again. now that people have taught themselves to steal said password when being sent to the user that needs same said password. they make you change it instead using a method of two point checking.

nonetheless. as it might be difficult or take a lot of time and work to set yourself up something like this to where if you forget your password all you have to do it e-Mail yourself and change it so you can get back into your System.

the easier way would be is to write it down somewhere and put it somewhere safe where you can get it if you just happen to forget it. Or e mail it to yourself and save that E mail in a folder for easy retrieval.

I do know that this does not fix your current issue but it will help you to not have it again.
 
1 members found this post helpful.
Old 04-08-2017, 10:46 AM   #19
TheBigMing
Member
 
Registered: Dec 2008
Location: east anglia
Distribution: SuSE, antiX
Posts: 45

Rep: Reputation: 8
Unhappy

Quote:
Originally Posted by TheBigMing
I had a similar problem and found the answer here:
[url]https://madalanarayana.wordpress.com...very-in-linux/

It does require the use of the command line,
Not able to get to the command line though.
to which Safeway44 replied:

Quote:
Article says after Grub screen:
"press e here now you should be seeing three lines, the second line is the kernel line"
I press e and see a list and then:
Grub>
A Grub prompt which allows me to type anything after Grub>
Sorry, that's my fault. I should have specified the use of "chroot" which which forms the second part of the article

dmk

Last edited by TheBigMing; 04-08-2017 at 10:49 AM.
 
1 members found this post helpful.
Old 04-08-2017, 10:57 AM   #20
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,135

Rep: Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927
Quote:
Originally Posted by Shadow_7 View Post
Various ways to change a password without requiring the password.

1) boot another distro and chroot to the install and use passwd
ethics violation?
Quote:
Originally Posted by Shadow_7 View Post
2) boot in singleuser mode and use passwd. Requires changing the boot parameters from the bootloader.
ethics violation?

Quote:
Originally Posted by Shadow_7 View Post

3) exploit one of the many vulnerabilities in linux.
ethics violation?
Quote:
Originally Posted by Shadow_7 View Post
Or just don't forget your password. Or have multiple users with multiple passwords so forgetting 10% of them doesn't leave you stranded (like most gamers have for their favorite game). With physical security, write your passwords down. On a sticky note stuck to the monitor. Although big brother doesn't believe in physical security. And definitely not best practices. So use industry standards and have password as your password. Or the username backwards (UID: root, PWD: toor) if you're paranoid.
or password same as user name - or set to no password and don't tell no one so if someone does try to get in they'll be typing in passwords trying to figure yours out and never get in because it does not need a password.

Last edited by BW-userx; 04-08-2017 at 11:00 AM.
 
Old 04-08-2017, 11:27 AM   #21
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,316

Rep: Reputation: Disabled
I used to throw away my computers when the password was lost. You say it can be reset!? Oh my ...
 
1 members found this post helpful.
Old 04-08-2017, 11:44 AM   #22
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,135

Rep: Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927
Quote:
Originally Posted by Emerson View Post
I used to throw away my computers when the password was lost. You say it can be reset!? Oh my ...
now that is funny
 
Old 04-08-2017, 05:03 PM   #23
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I prefer NO /etc/passwd file! I do: telnetd -l /bin/sh
(punchline: the cd has ONLY ONE binELF: busybox)
Code:
/ # pstree -p #slightly edited, to rm dup lines; ALL -are- busybox ('applets'=symlinks)
init(1)-+-5*[sh] 
        |-telnetd(1142)---sh(5768)---pstree(27412)
        |-4*[udhcpc]
/ # find / -xdev -type f -size +1c ! -name \*.sh ! -name \*.txt | egrep -v '^/src|^/lib'
/etc/inittab
/etc/resolv.conf
/etc/05_rc.dhcp
/bin/busybox
/var/log/wtmp
/.ash_history
/README
/ # strings -on3 /bin/busybox |grep -iw elf
      1 ELF
/ # pmap 1
1: init
08048000     788K r-xp  /bin/busybox
0810d000       4K r--p  /bin/busybox
0810e000       4K rw-p  /bin/busybox
08f27000     132K rw-p  [heap]
b75ce000    1480K r-xp  /lib/libc.so.6
b7740000       4K ---p  /lib/libc.so.6
b7741000       8K r--p  /lib/libc.so.6
b7743000       8K rw-p  /lib/libc.so.6
b7745000       8K rw-p    [ anon ]
b7747000     292K r-xp  /lib/libm.so.6
b7790000       4K r--p  /lib/libm.so.6
b7791000       4K rw-p  /lib/libm.so.6
b7792000       8K rw-p    [ anon ]
b7794000       8K r--p  [vvar]
b7796000       4K r-xp  [vdso]
b7797000     116K r-xp  /lib/ld-linux.so.2
b77b4000       4K r--p  /lib/ld-linux.so.2
b77b5000       4K rw-p  /lib/ld-linux.so.2
bfecf000     132K rw-p  [stack]
mapped: 3012K
/ # ip a|grep -w inet;ip r
    inet 127.0.0.1/8 scope host lo
    inet 192.168.6.246/24 scope global eth0 <<<prior 'hotspot' dhcpS (+several secondaryS!)
    inet 192.168.10.228/24 scope global eth0 <<<VBox bridged; current hotspot
    inet 10.0.3.15/24 scope global eth1 <<<VBox default NAT (no host>guest w/OUT portFwd!)
    inet 169.254.2.101/16 scope global eth2  <<<VBox 'host-only' myRFC3927net
default via 10.0.3.2 dev eth1
10.0.3.0/24 dev eth1  src 10.0.3.15
169.254.0.0/16 dev eth2  src 169.254.2.101
192.168.6.0/24 dev eth0  src 192.168.6.246
192.168.10.0/24 dev eth0  src 192.168.10.228
/ #
wth is sit0? ps -o args -> udhcpc -b -i sit0 -s /etc/05_rc.dhcp Oh!Isee:NecroANT

Last edited by Jjanel; 04-08-2017 at 08:01 PM.
 
Old 04-10-2017, 06:04 AM   #24
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,041

Rep: Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331
Quote:
Originally Posted by BW-userx View Post
ethics violation?
Where do you see the recovery of access to your own hardware running the operating system you yourself installed any "ethics violation"? Not arguing, just not seeing where you get this from and want to understand.
 
Old 04-10-2017, 06:50 AM   #25
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,852
Blog Entries: 2

Rep: Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312
Prove it's their OS...
Quote:
  • Posts containing information about cracking, piracy, warez, fraud or any topic that could be damaging to either LinuxQuestions.org or any third party will be immediately removed.

Last edited by jamison20000e; 04-10-2017 at 06:54 AM.
 
Old 04-10-2017, 09:29 AM   #26
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,135

Rep: Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927
Quote:
Originally Posted by wpeckham View Post
Where do you see the recovery of access to your own hardware running the operating system you yourself installed any "ethics violation"? Not arguing, just not seeing where you get this from and want to understand.
I never said it was, it is a question not a statement.

Did you just happen to notice this little thing '?' called a question mark. Something man came up with for them that cannot figure out if what that other person is writing is a question or a statement.

therefore it is NOT not me making a statement that yes it is an ethics violation but rather put to question "is it an ethics violation"

without having to type all of the other words out, man came up with this to notate a question '?' to help them that cannot figure out what that one person is writing.

Have you even had to read Hebrew in its original text, or other ancient texts? They do not have theses things ? . or commas even to help some one know if that is the end of a sentence or what. one has to take how it is written and figure out where the thought begins and ends. To try and figure out what it was they were trying to say. Talk about having to use ones brain to figure out what is really going on.


so to eliminate that and improve on how man communicates his thoughts to another in writing someone came up with notation marks one is called a question mark.


Quote:
ethics violation?
or
"is it an ethics violation"

as one might see that the second sentence does not really require the question mark to make it a question. Just by the way it is written. were the first one can be put to question just you did had I had I not used a question mark.


they both are just questions, neither one of them are stating what I believe to be a truth.

because they are questions not statements.

your question on where do I see it for me to violate "protocol" if it is my system, no I do not. I put to question the giving out of such information that now can be used to attack someone else system, is that an ethics violation? (it could even be miscued as a LQ violation for giving out such information.)

I just did not want to write this much on that or this either, but here I go having to explain myself again and now am being put into a state of fear unjustly. because their are ones in here that love to flex their muscles can now accuse me, and sight me of some infraction of the rules even if I am not in the wrong.

and the others go free regardless if they are right or wrong.

Last edited by BW-userx; 04-10-2017 at 10:01 AM.
 
1 members found this post helpful.
Old 04-10-2017, 03:12 PM   #27
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,928
Blog Entries: 1

Rep: Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832
If you want to get technical. Linux is an ethics violation. Mostly for proprietary software vendors who like to make money. But even countries like Australia with profanity laws, of which the source code for the linux kernel violates.
 
Old 04-10-2017, 04:29 PM   #28
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,852
Blog Entries: 2

Rep: Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312Reputation: 1312
"profanity laws" L O F-ing L
 
Old 04-11-2017, 01:09 AM   #29
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,471
Blog Entries: 9

Rep: Reputation: 3375Reputation: 3375Reputation: 3375Reputation: 3375Reputation: 3375Reputation: 3375Reputation: 3375Reputation: 3375Reputation: 3375Reputation: 3375Reputation: 3375
Quote:
Originally Posted by Shadow_7 View Post
But even countries like Australia with profanity laws, of which the source code for the linux kernel violates.
sounds like there's a nice anecdote behind that statement?
 
Old 04-11-2017, 02:57 AM   #30
Safeway44
Member
 
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32

Original Poster
Rep: Reputation: Disabled
I forgot my username as well. I tried root already. How do I reset the username?
 
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
Forgot password. Please help. larryalk Slackware 4 05-05-2010 04:35 AM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
Forgot my Password khattaking Solaris / OpenSolaris 2 07-20-2006 12:33 PM
forgot password =( ?!?! j_miguel_y Linux - General 1 08-31-2004 11:58 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 07:36 PM

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

All times are GMT -5. The time now is 02:53 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