Enabling importing passwords on chromium

I am very new, I am trying to import my passwords from windows chrome as a csv file into chromium version 108.0.5359.124 (Official Build) Arch Linux (64-bit).
The import/export features are turned off by default. I found a command line (I know very little about command line) that was supposed to turn these features on but all I get is an error about "no sandbox". Looking up what to do with that, I found someone saying to add "no sandbox" to the chromium app properties but I can't figure out how to get into that. All I want is to be able to import the passwords without having to manually do so.

╭─laura@laura in ~ 
╰─λ sudo chromium --flag-switches-begin --enable-features=PasswordImport --flag-switches-end
[sudo] password for laura:        
[6114:6114:1230/192724.906140:ERROR:zygote_host_impl_linux.cc(100)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
 ╭─laura@laura in ~ as 🧙 took 6s
[🔴] × garuda-inxi
System:
  Kernel: 6.1.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=4b9f847b-2370-4a10-b94f-f73f20a55106 rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3 ibt=off
  Desktop: Cinnamon v: 5.6.5 tk: GTK v: 3.24.36 wm: muffin vt: 7 dm: LightDM
    v: 1.32.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop System: Micro product: G113 v: 1.0
    serial: <superuser required>
  Mobo: Micro-Star model: PRO H610M-G DDR4 (MS-7D46) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 1.M3
    date: 07/18/2022
CPU:
  Info: model: 12th Gen Intel Core i5-12400F bits: 64 type: MT MCP
    arch: Alder Lake gen: core 12 level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x97 (151) stepping: 5
    microcode: 0x26
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 480 KiB desc: d-6x48 KiB; i-6x32 KiB L2: 7.5 MiB desc: 6x1.2 MiB
    L3: 18 MiB desc: 1x18 MiB
  Speed (MHz): avg: 2216 high: 2500 min/max: 800/5600 scaling:
    driver: intel_pstate governor: powersave cores: 1: 2500 2: 800 3: 2500
    4: 2500 5: 2500 6: 2500 7: 800 8: 2500 9: 2500 10: 2500 11: 2500 12: 2500
    bogomips: 59904
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel DG2 [Arc A380] vendor: ASRock driver: i915 v: kernel
    arch: Gen-12.7 code: Alchemist process: TSMC n6 (7nm) built: 2022+ pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 ports: active: HDMI-A-1,HDMI-A-2
    empty: DP-1, DP-2, DP-3, HDMI-A-3, HDMI-A-4 bus-ID: 03:00.0
    chip-ID: 8086:56a5 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.00x11.22")
    s-diag: 1055mm (41.54")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: primary,left
    model: Gigabyte G24F 2 serial: <filter> built: 2022 res: 1920x1080 hz: 60
    dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 595mm (23.4")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: HDMI-A-2 mapped: HDMI-2 pos: right model: BenQ GW2485TC
    serial: <filter> built: 2021 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.
Audio:
  Device-1: Intel Alder Lake-S HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:7ad0 class-ID: 0403
  Device-2: Intel vendor: ASRock driver: snd_hda_intel v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:4f92
    class-ID: 0403
  Sound API: ALSA v: k6.1.1-zen1-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: N/A
    modules: e1000e port: N/A bus-ID: 00:1f.6 chip-ID: 8086:1a1d class-ID: 0200
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 06:00.0
    chip-ID: 8086:24fb class-ID: 0280
  IF: wlp6s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-14:5 chip-ID: 8087:0aa7 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 931.52 GiB used: 16.21 GiB (1.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WD Blue SN570 500GB size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 234110WD temp: 43.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 2B6Q scheme: GPT
Partition:
  ID-1: / raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 16.21 GiB (3.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 608 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 16.21 GiB (3.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 16.21 GiB (3.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 16.21 GiB (3.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.48 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 321 Uptime: 48m wakeups: 0 Memory: 15.48 GiB
  used: 3.33 GiB (21.5%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 1382
  libs: 368 tools: octopi,pamac,paru Shell: fish v: 3.5.1 default: Bash
  v: 5.1.16 running-in: gnome-terminal inxi: 3.3.24
Garuda (2.6.12-1):
  System install date:     2022-12-27
  Last full system update: 2022-12-29
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:

Welcome :slight_smile:

Try

chromium  --flag-switches-begin --enable-features=PasswordImport --flag-switches-end

or

sudo chromium --no-sandbox --flag-switches-begin --enable-features=PasswordImport --flag-switches-end

2 Likes

The second one did terrible things, the command box turned into a ghost and I had a difficult time closing it. The first one turned on export... so how do I get import :slight_smile:

Sorry I don’t use chromium, so your info about sudo was wrong :slight_smile:
IIRC, never use sudo for gui apps.

I would read the manual about :wink:

1 Like

Never mind! It worked, I had to close chromium and then run the command. Thank you so much!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.