03-29-2005
Root Password Lost
I'm attempting to blank out the root user password on a machine that we have forgotten the password for. I have been using the advice posted on this site to boot from CDROM in single user mode, then mounting the root slice and editing the /etc/shadow file. Each time I save the shadow file and reboot the machine, I am still unable to login. After which I go back into single user mode only to find out that the /etc/shadow file is back to its original state and it appears as if I never changed it. Is this being caused by the automounter daemon? If so, how do I turn the automounter off in single user mode?
Thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I've forgotten root password on one of Solaris machines, i searched in forumes to find a similar case but there's no proceudre here to reinintialize root password, cause most of related commands & even single user mode needs root password that i don't have.
Any solution would be helpful.
--rgrds,... (9 Replies)
Discussion started by: nikk
9 Replies
2. UNIX for Advanced & Expert Users
Hello ...
I lost my password root !
maybe someone can to help me to log in HP_UX,
i started the server in " Singel - User" and i changed my
password to new password and it`s not working ..
what i must to do ??? (4 Replies)
Discussion started by: yanly
4 Replies
3. UNIX for Advanced & Expert Users
I have recently become the sys adm guy for our unix systems here for my shop. I have a pretty good understanding of the system, but there is just some stuff that I don't know. Right now one of those things is to recover the password for a unix system.
I know that there is a way that you can use... (2 Replies)
Discussion started by: GlockCW
2 Replies
4. Answers to Frequently Asked Questions
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies
5. Linux
wish to know how to access root password it root password is forgotten in linux (1 Reply)
Discussion started by: wojtyla
1 Replies
6. AIX
Hi how do you reset the root password in AIX.
I booted to single user mode and it asked for login and password.
I have AIX 4.3.
Thanks (4 Replies)
Discussion started by: Welfaric
4 Replies
7. UNIX for Advanced & Expert Users
This is a common question im sure... I bought a RS/6000 Model 240. Aix 4.3.3 loaded. No root password was supplied to me, but I do have the install media (4 disks). I want to drop into maint mode. So I place the cd into the drive, restart the box ( by pressing the power button, since i do not have... (3 Replies)
Discussion started by: JoeJohnSmith
3 Replies
8. UNIX for Dummies Questions & Answers
Ive lost the root password , i dont have the cds , what can i do? (3 Replies)
Discussion started by: sopapa
3 Replies
9. SCO
I dont have the cds, what can i do? (2 Replies)
Discussion started by: sopapa
2 Replies
10. Solaris
Hi All
Hope it's okay to post on this sub-forum, couldn't find a better place
I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies
LEARN ABOUT PHP
systemd-tty-ask-password-agent
SYSTEMD-TTY-ASK-PASSWORD-AGENT(1) systemd-tty-ask-password-agent SYSTEMD-TTY-ASK-PASSWORD-AGENT(1)
NAME
systemd-tty-ask-password-agent - List or process pending systemd password requests
SYNOPSIS
systemd-tty-ask-password-agent [OPTIONS...] [VARIABLE=VALUE...]
DESCRIPTION
systemd-tty-ask-password-agent is a password agent that handles password requests of the system, for example for hard disk encryption
passwords or SSL certificate passwords that need to be queried at boot-time or during runtime.
systemd-tty-ask-password-agent implements the Password Agents Specification[1], and is one of many possible response agents which answer to
queries formulated with systemd-ask-password(1).
OPTIONS
The following options are understood:
--list
Lists all currently pending system password requests.
--query
Process all currently pending system password requests by querying the user on the calling TTY.
--watch
Continuously process password requests.
--wall
Forward password requests to wall(1) instead of querying the user on the calling TTY.
--plymouth
Ask question with plymouth(8) instead of querying the user on the calling TTY.
--console
Ask question on /dev/console instead of querying the user on the calling TTY.
-h, --help
Print a short help text and exit.
--version
Print a short version string and exit.
EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise.
SEE ALSO
systemd(1), systemctl(1), systemd-ask-password-console.service(8), wall(1), plymouth(8)
NOTES
1. Password Agents Specification
https://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
systemd 237 SYSTEMD-TTY-ASK-PASSWORD-AGENT(1)