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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
04-08-2017, 07:15 AM
|
#16
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
|
If it is your shiny new operating system and not for pen testing please put your credit card here: __________________ __\__ ___ ‽‽‽ 
|
|
|
04-08-2017, 08:14 AM
|
#17
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
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.
|
04-08-2017, 08:54 AM
|
#18
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by Safeway44
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.
|
04-08-2017, 10:46 AM
|
#19
|
Member
Registered: Dec 2008
Location: east anglia
Distribution: SuSE, antiX
Posts: 45
Rep:
|
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.
|
04-08-2017, 10:57 AM
|
#20
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by Shadow_7
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
2) boot in singleuser mode and use passwd. Requires changing the boot parameters from the bootloader.
|
ethics violation?
Quote:
Originally Posted by Shadow_7
3) exploit one of the many vulnerabilities in linux.
|
ethics violation?
Quote:
Originally Posted by Shadow_7
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.
|
|
|
04-08-2017, 11:27 AM
|
#21
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
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.
|
04-08-2017, 11:44 AM
|
#22
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by Emerson
I used to throw away my computers when the password was lost. You say it can be reset!? Oh my ...
|
now that is funny 
|
|
|
04-08-2017, 05:03 PM
|
#23
|
Member
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
|
I prefer NO /etc/passwd file! I do: telnetd -l /bin/sh
( punchline: the cd has ONLY ONE bin ELF: 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:Necro ANT
Last edited by Jjanel; 04-08-2017 at 08:01 PM.
|
|
|
04-10-2017, 06:04 AM
|
#24
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,115
|
Quote:
Originally Posted by BW-userx
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.
|
|
|
04-10-2017, 06:50 AM
|
#25
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
|
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.
|
|
|
04-10-2017, 09:29 AM
|
#26
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by wpeckham
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.
|
04-10-2017, 03:12 PM
|
#27
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
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.
|
|
|
04-10-2017, 04:29 PM
|
#28
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
|
"profanity laws" L O F-ing L 
|
|
|
04-11-2017, 01:09 AM
|
#29
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by Shadow_7
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?
|
|
|
04-11-2017, 02:57 AM
|
#30
|
Member
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32
Original Poster
Rep: 
|
I forgot my username as well. I tried root already. How do I reset the username?
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 01:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|