Tux


Can’t Find Google’s App Passwords Option? Here’s How to Access It Directly

Introduction

Setting up app passwords is essential when you use applications or devices that don’t support 2-Step Verification codes. However, many users have reported difficulty finding the option to create an app password in their Google accounts, even after enabling 2-Step Verification. If you’re facing this issue, don’t worry—you can access the App Passwords page directly through a specific URL.

Why Is the App Passwords Option Missing?

Google frequently updates its interface and security settings, sometimes making features like App Passwords harder to locate. Reasons you might not see the option include:

  • Interface Changes: Google may have relocated the feature in recent updates.
  • Account Restrictions: Some account types, like business or education accounts, may have administrator restrictions.
  • Incomplete Verification Setup: If 2-Step Verification isn’t fully set up, the App Passwords option might not appear.

Direct Access to App Passwords

If the App Passwords option is elusive, you can bypass the navigation hassle by visiting the page directly:

🔗 Access App Passwords Directly

Step-by-Step Guide to Generate an App Password

  1. Visit the Direct Link: Click on the link above or enter it into your browser’s address bar.
  2. Sign In: Log in to your Google account if you’re not already signed in.
  3. Verify with 2-Step Verification: You may be prompted to complete a verification step to confirm your identity.
  4. Navigate to App Passwords: You should now be on the App Passwords page.
  5. Select the App and Device:
  • Select App: From the dropdown menu, select the app for which you’re generating the password. Select Other (Custom name) and enter a name if it’s not listed.
  • Select Device: Choose the device you’re using.
  1. Generate Password: Click Generate to create a unique app password.
  2. Use the Password: You’ll receive a 16-character password. When prompted for your Google account password, enter this into the app or device.

Tips and Considerations

  • Security: Keep your app passwords secure. Treat them like your regular passwords.
  • One-Time Use: Typically, you only need to enter the app password once per app or device.
  • Revocation: If you lose a device or no longer use an app, revoke its app password from the same App Passwords page.

Conclusion

Finding the App Passwords option can be frustrating, but accessing it directly through https://myaccount.google.com/apppasswords is a simple solution. Always ensure that your 2-Step Verification is fully set up and that you follow Google’s security recommendations to keep your account safe.

A digital vector logo for a team of Cypriot ethical hackers, featuring a stylized knight's helmet to represent the chivalry of ethical hacking. The helmet is merged with digital elements like pixels and circuit lines. The colors of the Cyprus flag are subtly integrated into the design, with a lock icon as the knight's crest to symbolize protection and cybersecurity.

Configuring YubiKey for Challenge-Response with YubiKey Manager (ykman)

YubiKeys are popular hardware security keys for multi-factor authentication, passwordless login, and cryptographic operations. YubiKey Manager (ykman) is a versatile command-line tool that helps manage YubiKeys and configure various features, such as OTP (One-Time Passwords), FIDO2, OpenPGP, and more.

In this blog, we’ll walk through installing ykman, configuring the system to support smart card (CCID) functionality, and setting up YubiKey’s OTP Challenge-Response mechanism on Slot 2 with a custom secret key.

Prerequisites

Before you proceed, ensure you have:

  • A YubiKey (any model that supports OTP)
  • A Linux-based system (although similar commands apply for macOS and Windows)
  • Administrative privileges (i.e., sudo access)

Step 1: Install YubiKey Manager (ykman)

The easiest way to install ykman is through the Snap package system. Open your terminal and run the following command:

sudo snap install ykman

Snap packages offer the advantage of being automatically updated, and the installation process is streamlined across different Linux distributions.

Step 2: Install PC/SC Daemon (for Smart Card Functionality)

YubiKey’s advanced features such as PIV (Personal Identity Verification), OpenPGP, and OATH require the PC/SC daemon (pcscd). This daemon handles smart card communication and is crucial if you plan to use your YubiKey as a smart card device.

To install pcscd, run the following command:

sudo apt-get install pcscd

Once installed, ensure that the service is running:

sudo systemctl start pcscd
sudo systemctl enable pcscd

This ensures that the PC/SC daemon starts on boot and is ready to handle YubiKey interactions that require smart card protocols.

Step 3: Configure YubiKey OTP Slot 2 for Challenge-Response

YubiKeys supports OTP in two different slots. By default, Slot 1 is often used for standard Yubico OTP, while Slot 2 can be configured for custom purposes, such as Challenge-Response.

In this example, we will configure Slot 2 with a custom secret key for Challenge-Response using HMAC-SHA1. This key can be used in scenarios such as system authentication, password managers, or other cryptographic operations.

Generate or Define a Secret Key

For Challenge-Response to work, you need a 20-byte secret key in hexadecimal format. You can either generate this key yourself or use a tool like OpenSSL:

openssl rand -hex 20

Ensure you securely store this secret key, as it will be used for Challenge-Response authentication.

Configure Slot 2 with the Secret Key

To configure the secret key for Challenge-Response in Slot 2, use the following ykman command. Replace the example key with your own 20-byte key:

ykman otp chalresp 2 00112233445566778899aabbccddeeff00112233
  • otp chalresp tells YubiKey Manager that we are configuring OTP Challenge-Response.
  • 2 indicates Slot 2.
  • The hexadecimal string 00112233445566778899aabbccddeeff00112233 is your secret key.

Once this command runs successfully, your YubiKey is ready for Challenge-Response authentication in Slot 2.

Step 4: Verify the Configuration

To ensure that the configuration was successful, you can check the YubiKey’s slot status with the following command:

ykman otp info

This command will display information about both Slot 1 and Slot 2, allowing you to verify that Slot 2 has been configured for Challenge-Response using HMAC-SHA1.

Conclusion

You have now successfully installed ykman, configured your system for smart card support with pcscd, and set up Slot 2 on your YubiKey for OTP Challenge-Response using a custom secret key. This setup is valuable for integrating YubiKey into secure systems, password managers, and custom cryptographic workflows.

By leveraging ykman, you unlock a wide range of features in your YubiKey, making it a powerful tool for authentication and security.

For further reading on YubiKey and its capabilities, you can explore the official Yubico documentation.

Common Issues

  1. PC/SC Not Available: If you encounter the warning PC/SC not available. Smart card (CCID) protocols will not function., ensure that the pcscd service is installed and running. You can restart it using:
   sudo systemctl restart pcscd
  1. Permission Denied: If you experience permission issues when running ykman, ensure that your user has access to USB devices, or try running the command with sudo.

With this setup, your YubiKey is now ready to provide robust security for your systems and applications!

A Pixar-style movie poster featuring a 3D animated girl with an adventurous spirit, standing proudly on the peak of a high, rocky mountain holding the Cyprus flag. Her hair is styled in a playful, windswept manner, and her outfit reflects the colors of the flag. Next to her is a faithful companion, a large, endearing mouflon goat with detailed fur texture and expressive eyes, both looking out over the vast landscape.

Fixing GNOME Not Loading After Installing FUSE on Ubuntu

Recently, I ran into an interesting issue while working on my Ubuntu system. After installing FUSE (Filesystem in Userspace), my GNOME desktop environment stopped loading, leaving me at a blank screen or stuck in a loop with no graphical interface. If you find yourself in a similar situation, don’t worry. This post walks you through the issue and provides a simple fix.

The Problem: GNOME Fails to Load After FUSE Installation

FUSE is a powerful tool that allows non-privileged users to create their own file systems without modifying the kernel code. However, after installing FUSE on my Ubuntu machine, I rebooted to find that the GNOME desktop environment wouldn’t load.

I tried rebooting several times, hoping the issue would resolve itself. Unfortunately, it didn’t. I could still access the terminal using Ctrl + Alt + F2, but my desktop environment was completely unresponsive. This kind of issue can often occur due to broken or missing desktop packages.

The Solution: Reinstall the ubuntu-desktop Package

The issue likely arose from a corrupted or missing GNOME/desktop package. The good news is that this is fixable with a simple command:

sudo apt install --reinstall ubuntu-desktop

This command reinstalls the GNOME desktop environment and other essential packages, restoring the graphical interface.

How to Apply the Fix

There are two main methods to fix the issue depending on your situation. Either you can use Recovery Mode to reinstall the desktop environment or you can do it from a terminal session using Ctrl + Alt + F2.

Method 1: Using Recovery Mode

Recovery Mode is your best option if you’re stuck at the GNOME loading screen and can’t access the terminal or graphical interface. Here’s how you can fix it:

  1. Reboot Your System and Enter Recovery Mode:
  • On system startup, hold down the Shift key to bring up the GRUB menu.
  • From the GRUB menu, select Advanced options for Ubuntu.
  • Select a kernel with the suffix (recovery mode).
  1. Enable Networking:
  • In the recovery menu, select network to enable networking. This is necessary because you will need access to the internet to download any missing or broken packages.
  1. Reinstall ubuntu-desktop:
  • Once networking is enabled, select the root option to drop into a root shell.
  • Run the following command:
    bash sudo apt install --reinstall ubuntu-desktop
  1. Reboot the System:
    After the installation is complete, reboot your system using the following command:
   sudo reboot

Your GNOME desktop should now load without any issues.

Method 2: Using a Second Terminal Session (Ctrl + Alt + F2)

If your system boots but the GNOME desktop environment does not load properly, you can fix the issue from a second terminal session.

  1. Open a Second Terminal:
  • Press Ctrl + Alt + F2 to open a new terminal session. This will allow you to log into a non-graphical session.
  1. Reinstall the Desktop Environment:
    Once logged in, run the following command to reinstall the desktop environment:
   sudo apt install --reinstall ubuntu-desktop
  1. Reboot:
    After the installation completes, reboot your system:
   sudo reboot

Once the system boots up again, GNOME should load as expected.

https://youtu.be/VrBgV178dMg

Why This Happens

The root cause of this issue is often related to the FUSE installation process modifying or corrupting some of the desktop environment packages. Installing FUSE doesn’t directly interfere with GNOME, but package conflicts or incomplete installations sometimes can break the environment. In this case, reinstalling ubuntu-desktop restores the missing components, resolving the issue.

Conclusion

If your GNOME desktop environment stops loading after installing FUSE, don’t panic. By either using the Recovery Mode or accessing a terminal via Ctrl + Alt + F2, you can quickly reinstall the ubuntu-desktop package and bring your system back to life. This solution should get your desktop environment running again without any data loss or the need for a complete reinstallation of Ubuntu.

An anime-style illustration of a girl with long flowing hair, dressed in a vibrant costume featuring the colors of the Cyprus flag, standing triumphantly atop a rugged mountain peak. She is holding the flag of Cyprus with pride, the fabric fluttering in the mountain breeze. Beside her stands a large, majestic mouflon goat with curved horns, gazing into the distance. The background showcases a clear blue sky with a few scattered clouds.

Fixing Display Settings Issue in Ubuntu 24.04: “Changes Cannot Be Applied” Error

Ubuntu 24.04 is a powerful and user-friendly Linux distribution, but like any operating system, it sometimes presents users with challenges that need troubleshooting. One such issue you may encounter when adjusting display settings is the following error message:

“Changes cannot be applied. This could be due to hardware limitations.”

This error typically appears when attempting to modify the screen resolution or switch display configurations, such as external monitors. Despite having the necessary hardware (e.g., an NVIDIA GPU), users find that changes cannot be applied, leaving them limited control over display settings.

In this blog post, we’ll explain a simple solution to resolve this issue and ensure your display works as expected.

The Problem

In some instances, this error is not necessarily due to hardware limitations but rather a misconfiguration or a missing driver that prevents Ubuntu from properly interfacing with your NVIDIA graphics card. While Ubuntu’s open-source Nouveau drivers are functional for basic tasks, they often lack the features needed to fully utilize the power of NVIDIA GPUs, particularly for advanced display settings or multi-monitor setups.

The Solution: Installing Proprietary NVIDIA Drivers

To fix this issue, you must ensure the proprietary NVIDIA drivers are installed and configured correctly. The following steps will guide you through the process.

Step 1: Install NVIDIA Drivers

The first step is to install the appropriate NVIDIA drivers for your GPU. Ubuntu provides a convenient tool for this:

  1. Open a terminal by pressing Ctrl + Alt + T.
  2. Enter the following command to detect and install the best drivers for your system automatically:
   sudo ubuntu-drivers autoinstall

This command will scan your system’s hardware and install the proprietary drivers NVIDIA provides.

Step 2: Restart Your System

Once the drivers are installed, it’s important to reboot your system to ensure that the changes take effect:

sudo reboot

After restarting, Ubuntu should use the new drivers, but we still need to configure the display settings for optimal performance.

Step 3: Configure NVIDIA PRIME Profiles

NVIDIA’s PRIME technology allows systems with integrated graphics (like Intel) and discrete graphics (NVIDIA) to switch between different power modes. In many cases, Ubuntu will default to using the integrated GPU to conserve power, which can limit display capabilities. We need to switch to the NVIDIA GPU for better performance.

  1. Open the NVIDIA Settings application by searching for it in the application menu or running the following command in the terminal:
   nvidia-settings
  1. In the NVIDIA Settings window, navigate to the PRIME Profiles section.
  2. Select the NVIDIA (Performance Mode) option. This setting ensures that the system uses the discrete NVIDIA GPU, which provides better performance and full control over display settings.
  3. Apply the changes and close the application.
https://youtu.be/TSAZPFgFDZM

Step 4: Restart Again

For the changes to fully take effect, you’ll need to reboot your system one more time:

sudo reboot

After this final reboot, your system should now be using the NVIDIA GPU for display rendering, and you should be able to modify the display settings without encountering the “Changes cannot be applied” error.

Conclusion

If you could not change display settings in Ubuntu 24.04 and received the “Changes cannot be applied” error, the issue likely stemmed from a misconfigured or missing NVIDIA driver. You can restore full control over your display settings by installing the proprietary drivers and configuring PRIME profiles to use the NVIDIA GPU.

Following the steps in this guide should resolve the problem, enabling you to adjust your display settings as needed. If you encounter further issues, check the NVIDIA Settings application or verify that your drivers are up to date.

A pirate flag featuring a stylized mouflon head at the center. The flag is black, and the mouflon is depicted in a bold and imaginative style, with exaggerated features and a fierce expression. The colors are vibrant, with the mouflon's features in white, red, and other bold colors, giving it a lively and adventurous look. The design is unique and dynamic, capturing the essence of a pirate flag while avoiding direct references to copyrighted styles.