Hmm... The recommended method of changing your password on Linux (or Unix for that matter), is to use the passwd command.
To change another user's password, switch user to rootand issue the command:
# passwd other_user
Your question seems to indicate that you really want to directly edit your passwd and shadow files on your Linux distribution. Unless you really, really know what you're doing, I recommend against this.
If you do know what you're doing, use the vi (or other editor - vi is the best editor ever made though) editor and directly edit your /etc/passwd and /etc/shadow files.
Of course, should you subsequently discover you can no longer access your system, it may behoove you to go back to your Linux/Unix basics and begin all over again. May I suggest, as an excellent starting point, learn all that you can about the world's most wonder editor, the editor vi. :)
That depends entirely on what the file is, and if you have a preferred editor for the job.
passwd
You don't edit inodes manually. They are managed by the file system driver.
In Linux the chmod command is used to set file permissions.
You need to find the password to unlock the file. However, there are several program available to remove the password.
The simplest utility for viewing file content in the Linux Terminal, (Terminal as command promt also called DOS in Windows) its called the file command. The simplest utility for viewing file content in the Linux Terminal, (Terminal as command promt also called DOS in Windows) its called the file command.
Viewing a file:"less [filename]"viewing the standard output of a command:"[command] | less"
The mount command instructs the kernel to access the file system on a partition or device.
if the file is allready runnable you can type in the terminal: ./filename
if the file is allready runnable you can type in the terminal: ./filename
The 'vi' editor is a text editor; it can edit anything that is displayable ASCII text. You can edit a password in the password file using 'vi' (not recommended).
in terminal it is : #cp file_a file_b
chmod +x is the command to set the executable flag in Linux but, Linux does not use exe files.
print the contents of a text file onto the screen (like the "type" command in DOS).