I'm not finding anything either, but I'd venture to guess that it's relatively easy to do with Gnome. Gnome 3 interface is powered by CSS and various languages, including JavaScript, Python, Vala, and C/C++. I believe it also has APIs for responding to touch screens. live.gnome.org also makes mention of there being a "swipe password" option, so it's possible/likely it's built in (or accessible by extensions).
If you know/are willing to learn some CSS and a scripting language, you can probably build it yourself. Since, as the comments have said, I doubt something this cool wouldn't leave a trace on the Internet, I'd venture to guess it was a custom thing, perhaps that a friend of his did?
If you can't/don't want to dive into the code, then I'd try expanding your search a little to Gnome 3 (instead of just Fedora) and "swipe" or "touchscreen" extensions/themes.
You can use following commands for the same:
Method 1 (md5, sha256, sha512)
openssl passwd -6 -salt xyz yourpass
Note: passing -1
will generate an MD5 password, -5
a SHA256 and -6
SHA512 (recommended)
Method 2 (md5, sha256, sha512)
mkpasswd --method=SHA-512 --stdin
The option --method
accepts md5
, sha-256
and sha-512
Method 3 (des, md5, sha256, sha512)
As @tink suggested, we can update the password using chpasswd
using:
echo "username:password" | chpasswd
Or you can use the encrypted password with chpasswd
. First generate it using this:
perl -e 'print crypt("YourPasswd", "salt", "sha512"),"\n"'
Then later you can use the generated password to update /etc/shadow
:
echo "username:encryptedPassWd" | chpasswd -e
The encrypted password we can also use to create a new user with this password, for example:
useradd -p 'encryptedPassWd' username
Best Answer
root::…
is an empty password hash. Depending on how your system is configured (isnullok
present on theauth … pam_unix.so
line in/etc/pam.conf
or the applicable file in/etc/pam.d
?), you either get no password prompt, or else no password will be accepted.Since
su
doesn't let you in, it probably isn't configured withnullok
. That's to be expected: allowing login with no password for root is highly unusual so it isn't the default configuration.If
su
orlogin
is configured withnullok_secure
then this allows you to log in with no password, but only on a text console. So try switching to a text console (Ctrl+Alt+F1) and logging in as root, or logging in under your normal account and runningsu
.If you have
sudo
set up then it doesn't care about the root password and you can still use it.If you can't get into the root account this way, you'll have to reboot in single user mode or rescure shell mode. See What is the difference between these two ways of reseting the root password?, How to Reset Forgotten Root Password in Fedora 19 from GRUB, How can we change root password?, …
In the future, if you do anything that might affect logging in, keep a root shell open!