View of the CMS (Compact Muon Solenoid) experiment Tracker Outer Barrel (TOB) in the cleaning room. The CMS is one of two general-purpose LHC experiments designed to explore the physics of the Terascale, the energy region where physicists believe they will find answers to the central questions at the heart of 21st-century particle physics. (Maximilien Brice, © CERN)
The following link contains a number of high-res photographs from CERN of the Large Hadron Collider. It’s set to begin testing this month, and I must say it’s about the most beautiful thing I’ve ever seen.
so this means i can change anyone’s password on ubuntu?
i’m having concerns about security since the new google chrome bubble popped. :/
… then its easy enough to “sudo passwd” to reset it. Or just live life in sudo, and “sudo su” when ever you need a terminal.
N/C
@bachterman
It’s long been known that all bets are off if you have physical access. You could set a password on grub, but that doesn’t stop someone from booting a CD or removing the harddrive and mounting it. Next.
@paco
Yeah but ubuntu doesn’t typically have a root password.
You can use a capital “S” instead of “single” if you’re feeling lazy
@Ronny – Re:Loosing
Oh, come on. To cast loose. To free from your control. To eject from your memory like a hot rocket of forgetfulness. Loosing your password.
(I’ve corrected the post. Appropriate dose of shame has been applied.)
single user mode may still occasionally prompt you for a password.
add init=/bin/bash to your kernel line to go straight to a bash prompt from bootup. You’ll probably have to remount your / partition as rw, and remember to sync after making any changes. You won’t be able to shut down nicely from this state, so ctrl + alt + del is the only option.
Actually this isn’t Ubuntu or Debian specific. It is a feature of the Linux kernel and has worked that way since at least 1995 but probably even a few years prior to that. Different bootloaders will have different methods to editing the kernel line though.
If you give root a password, you’ll have to enter that password to boot into single user mode. Correct me if I’m wrong…..
I saw this on the google reader this morning and didn’t think much about it. JUST called the boyfriend who is moving into a new house and got an ear full about him forgetting his password…blah blah blah.
I saved the day thanks to this little tip. More points for the slightly tech savvy girlfriend. Thanks!
this doesn’t work if the grub is password protected.
Regards
techspalace.blogspot.com
“If you’ve only forgotten the root password..
… then its easy enough to “sudo passwd” to reset it. Or just live life in sudo, and “sudo su” when ever you need a terminal.”
I’m pretty sure you need to enter the old password to reset it, so that doesn’t help if you’ve forgotten it.
You only have to enter the old password for non-root users, if you’re root you can, of course, just edit the /etc/passwd and /etc/shadow files directly. So passwd doesn’t ask for the old password.
No box is secure if one can get a physical access to it. You should use a password to secure the bios (no booting from CD) and use a password to secure the GRUB.
If you are allowed to boot from CD you can always change the root password.
Greetings,
mikko lightlinux.blogspot.com
Hallo!
I have a four year old computer (Packard Bell) with Linux Debian and Gnome password manager. No one know the username and password. I do not want to uninstall Debian and Gnome because it´s folders with pictures on the computer. Before I uninstall everything I want to save the pictures if it´s possible. Is it possible. I am a really beginner with linux.
Best regards
Isabelle
Hallo!
I have a four year old computer (Packard Bell) with Linux Debian and Gnome password manager. No one know the username and password. I do not want to uninstall Debian and Gnome because it´s folders with pictures on the computer. Before I uninstall everything I want to save the pictures if it´s possible. Is it possible. I am a really beginner with linux.
Best regards
Isabelle
Just open terminal and type in:passwd user, and then your done or do that using sudo.
I’m running Ubuntu 13.10, after getting to # prompt, entering new password, twice, I get:
‘Authentication token manipulation error’
the password was unchanged.
What to do now?
You need to remount /, ‘mount -o remount,rw /’ before you can actually write to any files.
That’s why you pass the command ‘init=/bin/sh’ to the boot command.
@Solar Analytics
You need to remount /, ‘mount -o remount,rw /’ before you can actually write to any files.