How I change the pass word of my computer?

Dani AI

Generated

The original question from asks a simple thing, but the answer depends entirely on OS, account type (own account vs administrator/root) and how authentication is managed on the machine. correctly separated GUI and console approaches, and was right to ask which OS and what privileges are available. That distinction is the first diagnostic step.

On standalone systems with local accounts, the operating system provides a built‑in change‑password facility for an account owner and administrative tools for changing other users' passwords. In environments using central authentication (LDAP, NIS, Active Directory, SSSD, etc.), a password change must be done against the directory service; changing the machine’s local password store will not update centrally managed credentials. Modern vendor and firmware features (Secure Boot, T2/Apple Silicon, BitLocker, FileVault) and full‑disk encryption change recovery behavior—resetting an OS account does not decrypt an encrypted volume.

For lost administrator/root access, recovery methods exist on many distributions and vendor systems, but they vary by release and can be blocked by encryption or firmware locks. Rescue or recovery procedures should only be used with authorization. Note that resetting a password on a system with encrypted data does not recover that data without the decryption key or passphrase, and account lockout/expiry or multi‑factor authentication can affect the ability to change credentials.

Security and troubleshooting notes: prefer long passphrases (managed with a password manager), enable two‑factor authentication where available, avoid password reuse, and follow local policy for complexity and rotation. When a change fails, common causes are directory vs local account mismatch, account lock or expiry, read‑only filesystem, or authentication modules (PAM) enforcing extra checks. Thanks to and for the practical pointers in this thread; the above provides modern caveats and diagnostic checkpoints that are important today.

Recommended Answers

All 4 Replies

Hello,

I made this your own thread because it is a different subject than the thread you attached the message to.

What kind of computer is it? What is it running? Do you have super user privs on it, or is this for your own account?

Thanks.

Christian

winders: CTRL+ALT+DELETE
then click on "Change passwd"
type old passwd and then type new twice
click okay

unix/linux
in a term/cmdtool/console or dtterm..
%passwd (or yppasswd)
type old passwd
type new
confirm new

mac osx
same as above but if you need to change root
youll need the boot disk to do it.
don't install anything but work through the options
untill you get the option to reset the administrator password..

enjoy

Hello,

This is off-topic, but you can boot the Mac OS X into a single user mode, and change the root password that way using the unix commands.

Christian

again offtopic.. but for anyone whose is reading this to recover lost password

Recover root passwd

1. Boot the system from 'CD #1' of Redhat Linux.

2. At the prompt enter "linux rescue". Several dialog box will appear. Press "ok" on those boxes.

3. At the end you will get a shell prompt. In the shell prompt enter "chroot /mnt/sysimage" and next enter "passwd".
This will ask for your new password. Enter new password.

4. Exit from the shell by entering "exit".

5. Eject your 'CD #1' now. Now booting starts from hard drive.

regards
Peeyush Maurya
http://geocities.com/peeyush_maurya/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.