Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

migrated from stackoverflow.com Dec 24 '10 at 0:28

This question came from our site for professional and enthusiast programmers.

    
Will you be solving it with programming? –  Ignacio Vazquez-Abrams Dec 23 '10 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 '10 at 23:27
    
Please post the ouput to: 'echo $PATH' –  Justin Feb 6 '11 at 0:09
add comment

2 Answers

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.