You are not logged in.

#1 2011-01-23 09:12:49

Logg
Member
Registered: 2011-01-23
Posts: 2

Segmentation Fault given when running passwd

This is an entirely new setup.

Command run:
# passwd

Expected Result:
Would be able to change password of current user.

Actual Result:
Immediately outputs "Segmentation fault" to the console.

I'm entirely new to Arch linux, and somewhat new to linux in general (one year of ubuntu). I've googled around, and found that https://bugzilla.redhat.com/show_bug.cgi?id=590247 describes the same problem and that a solution is provided in comment 9. I read the man page for pacman, and decided that  "# pacman -S "nss-softokn>=3.12"" would be the arch linux equivalent, but that didn't work. Please help me.

Offline

#2 2011-01-23 09:48:37

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Segmentation Fault given when running passwd

Logg, you have requested your thread to be moved to Newbie Corner, but considering the severity of your issue i will keep it in Installation. Can you give more information about which ISO you installed, how you installed it, and which steps you have taken after finishing the installation procedure?


ᶘ ᵒᴥᵒᶅ

Offline

#3 2011-01-23 09:49:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Segmentation Fault given when running passwd

Welcome to the boards.

A couple of things: you can always search for package details using the Packages link at the top of the page: nss-softokn isn't an Arch package - the package that contains passwd is shadow http://www.archlinux.org/packages/core/i686/shadow/

Make sure you have the correct version installed (4.1.4.2-3): pacman Syu && pacman -S shadow

For future reference, you downgrade like so: https://wiki.archlinux.org/index.php/Downgrade


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2011-01-23 10:11:52

Logg
Member
Registered: 2011-01-23
Posts: 2

Re: Segmentation Fault given when running passwd

litemotiv wrote:

Can you give more information about which ISO you installed, how you installed it, and which steps you have taken after finishing the installation procedure?

The filename of the ISO  is "archlinux-2010.05-core-x86_64.iso". After 'finishing the installation procedure' (assuming that installation ends at the point that you can login as root at the console without the help of the disk), I fiddled around to make the wireless connection connect automatically, abandoned that finding out that it would be easier once I had a gui set up, installed KDE, found it wouldn't let me log in as root forever, added a user, and attempted to set a password for it.

jasonwryan wrote:

Welcome to the boards.

A couple of things: you can always search for package details using the Packages link at the top of the page: nss-softokn isn't an Arch package - the package that contains passwd is shadow http://www.archlinux.org/packages/core/i686/shadow/

Make sure you have the correct version installed (4.1.4.2-3): pacman Syu && pacman -S shadow

For future reference, you downgrade like so: https://wiki.archlinux.org/index.php/Downgrade


This worked, thanks very much

Offline

#5 2011-01-23 10:37:39

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Segmentation Fault given when running passwd

Ah, then you probably didn't follow this: https://wiki.archlinux.org/index.php/Beginners'_Guide#Update_the_System

Please mark your thread solved by prepending it to the topic title, thanks.


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB