1827618 Members
4258 Online
109966 Solutions
New Discussion

Re: Segmentation fault

 
Edwin Ruiz_2
Super Advisor

Segmentation fault

Hi!

I have one problem again... when i use useradd or groupadd command i get that error:

Segmentation fault...

Do somebody know why?
2 REPLIES 2
Mark Grant
Honored Contributor

Re: Segmentation fault

This is just a guess but it may be that you have a corruption in /etc/passwd or /etc/shadow. Have a look at them manually and see if there is anythign obviously wrong with them.

However, it could be a whole host of things that is causing this error but most of them start to look a bit nasty compared with just a corrupted passwd file.
Never preceed any demonstration with anything more predictive than "watch this"
Jerome Henry
Honored Contributor

Re: Segmentation fault

This message is always a file problem... on writing on your HD... So /etc/passwd or /etc/shadow is a good bet...
Check also your rights, verifying that you 'su -' to enter this command.

hth

J
You can lean only on what resists you...