![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passwd command search | shahnazurs | SUN Solaris | 5 | 06-19-2007 04:59 AM |
| how to get passwd command again if it is deleted by usin rm command | venkata.ganesh | Linux | 4 | 06-11-2007 01:18 PM |
| Passwd in the line command | sandba | Shell Programming and Scripting | 1 | 08-22-2006 08:33 AM |
| How do I parse passwords into passwd command. | gilberteu | Shell Programming and Scripting | 0 | 03-28-2006 08:26 AM |
| Why passwd isnt working in shell scripts? | Deepa | Shell Programming and Scripting | 1 | 01-31-2003 06:46 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello All,
I am working on Sco unix version 5.0.5. The passwd command has somehow got corrupted and is only displaying the contents of the /etc/passwd file instead of changing the password. I wanted to know if there is any other command through which you can change the password of a user from the command line. |
| Forum Sponsor | ||
|
|
|
|||
|
Ya u were right.
It gives the output --> lrwxrwxrwx 1 root root 30 Oct 18 19:01 /bin/ls -> /opt/K/SCO/Unix /5.0.5Eb/bin/ls lrwxrwxrwx 1 root root 34 Oct 18 19:01 /bin/passwd -> /opt/K/SCO/ Unix/5.0.5Eb/bin/passwd Now how do i those restore those symlinks??? Or is there any other way out?? |
|
||||
|
It looks like those symlinks are right. Does the command "/bin/passwd" work? If not I would cd to
/opt/K/SCO/Unix/5.0.5Eb/bin/ and look around. Like what does "ls -l *passwd*" report? If your passwd command has been corrupted, I would guess that you've been hacked. You might need to re-install the os to be sure you're ok. But if you have a second sco box, maybe you could try copying the executable. |
||||
| Google The UNIX and Linux Forums |