0

I am using ubuntu system which uses openldap for user login authentication. For changing my login password i used "$sudo passwd" and changed it. (of course the password given is same as old one). Then onwards when i trying to run "apt" command it showing command not found. and for some other programs it showing segmentation fault. Can any one tell me why I am facing issue and how to solve this.

3
  • Will you be solving it with programming? Dec 23, 2010 at 23:25
  • Don't have enough rep to suggest this is moved to serverfault.. can someone else? EDIT: OP, unless you're asking how to debug whatever application is segfaulting..?
    – richo
    Dec 23, 2010 at 23:27
  • Please post the ouput to: 'echo $PATH'
    – Justin
    Feb 6, 2011 at 0:09

2 Answers 2

1

I am pretty sure it is unrelated to you changing password.

You either did something more, or it is just coincidence with some other problem.

0

You changed which password?

sudo passwd changes root's password, not yours.

And there is no command called apt. It's apt-get or aptitude.

Unless you have an alias alias apt=apt-get. Whether that works with sudo will depend on which file you put the alias in.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .