Deleted password under Solaris 11
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a very serious problem. I deleted my password with passwd -d user
, and now I can't log in to my account. I thought this would be a way to enter my account without entering the password by every login. Is there a standard UNIX/SOLARIS password to enter my account?
solaris login password passwd
add a comment |Â
up vote
0
down vote
favorite
I have a very serious problem. I deleted my password with passwd -d user
, and now I can't log in to my account. I thought this would be a way to enter my account without entering the password by every login. Is there a standard UNIX/SOLARIS password to enter my account?
solaris login password passwd
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a very serious problem. I deleted my password with passwd -d user
, and now I can't log in to my account. I thought this would be a way to enter my account without entering the password by every login. Is there a standard UNIX/SOLARIS password to enter my account?
solaris login password passwd
I have a very serious problem. I deleted my password with passwd -d user
, and now I can't log in to my account. I thought this would be a way to enter my account without entering the password by every login. Is there a standard UNIX/SOLARIS password to enter my account?
solaris login password passwd
edited Feb 17 at 12:51
Jeff Schaller
31.2k846105
31.2k846105
asked Feb 17 at 12:10
Daniel B
42
42
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
Login as root, and use
passwd yourusername
to set a new password for the user (change yourusername
to the appropriate name).
If you, for whatever reason, can not login as root, you may need to put the system into single user mode ("runlevel S") and issue the command from there. The steps for doing this is described in the official Oracle documentation and, for x86 platforms (not SPARC), boils down to
reboot -p
(hmmm... this assumes that you are root)- "If the system displays the Press Any Key to Reboot prompt, press any key to reboot the system. Or, you can also use the Reset button at this prompt."
- "If the system is shut down, turn the system on with the power switch."
- "When the GRUB menu is displayed, select the boot entry that you want to modify, then type
e
to edit that entry." - "Using the arrow keys, navigate to the
$multiboot
line, then typeâÂÂs
at the end of the line." - "To exit the GRUB edit menu and boot the entry you just edited, press Control-X. If you are not using a serial console on a system with UEFI firmware, pressing F10 also boots the entry."
- "Verify that the system is at run level S." ... with
who -r
. - "Perform the maintenance task that required the change to run level S." (this is where you use
passwd yourusername
). - "Reboot the system."
The above is untested as I do not have a Solaris system available.
add a comment |Â
up vote
0
down vote
Unless "PASSREQ=NO" is set in /etc/default/login, you'd not be able to login with out a password--it's set to YES by default as well as reco'd.
You'll have to have a SA reset your password. If you're the only SA, you'll need to boot off media, mount the root pool, and manually edit the shadow or /etc/default/login file to get back in.
Another option if you're the only SA is that if you have any other boot environments (BE's), you could boot to an ABE, and from there mount the current BE to modify the shadow or /etc/default/login file to get back in on the current BE.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
Login as root, and use
passwd yourusername
to set a new password for the user (change yourusername
to the appropriate name).
If you, for whatever reason, can not login as root, you may need to put the system into single user mode ("runlevel S") and issue the command from there. The steps for doing this is described in the official Oracle documentation and, for x86 platforms (not SPARC), boils down to
reboot -p
(hmmm... this assumes that you are root)- "If the system displays the Press Any Key to Reboot prompt, press any key to reboot the system. Or, you can also use the Reset button at this prompt."
- "If the system is shut down, turn the system on with the power switch."
- "When the GRUB menu is displayed, select the boot entry that you want to modify, then type
e
to edit that entry." - "Using the arrow keys, navigate to the
$multiboot
line, then typeâÂÂs
at the end of the line." - "To exit the GRUB edit menu and boot the entry you just edited, press Control-X. If you are not using a serial console on a system with UEFI firmware, pressing F10 also boots the entry."
- "Verify that the system is at run level S." ... with
who -r
. - "Perform the maintenance task that required the change to run level S." (this is where you use
passwd yourusername
). - "Reboot the system."
The above is untested as I do not have a Solaris system available.
add a comment |Â
up vote
2
down vote
Login as root, and use
passwd yourusername
to set a new password for the user (change yourusername
to the appropriate name).
If you, for whatever reason, can not login as root, you may need to put the system into single user mode ("runlevel S") and issue the command from there. The steps for doing this is described in the official Oracle documentation and, for x86 platforms (not SPARC), boils down to
reboot -p
(hmmm... this assumes that you are root)- "If the system displays the Press Any Key to Reboot prompt, press any key to reboot the system. Or, you can also use the Reset button at this prompt."
- "If the system is shut down, turn the system on with the power switch."
- "When the GRUB menu is displayed, select the boot entry that you want to modify, then type
e
to edit that entry." - "Using the arrow keys, navigate to the
$multiboot
line, then typeâÂÂs
at the end of the line." - "To exit the GRUB edit menu and boot the entry you just edited, press Control-X. If you are not using a serial console on a system with UEFI firmware, pressing F10 also boots the entry."
- "Verify that the system is at run level S." ... with
who -r
. - "Perform the maintenance task that required the change to run level S." (this is where you use
passwd yourusername
). - "Reboot the system."
The above is untested as I do not have a Solaris system available.
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Login as root, and use
passwd yourusername
to set a new password for the user (change yourusername
to the appropriate name).
If you, for whatever reason, can not login as root, you may need to put the system into single user mode ("runlevel S") and issue the command from there. The steps for doing this is described in the official Oracle documentation and, for x86 platforms (not SPARC), boils down to
reboot -p
(hmmm... this assumes that you are root)- "If the system displays the Press Any Key to Reboot prompt, press any key to reboot the system. Or, you can also use the Reset button at this prompt."
- "If the system is shut down, turn the system on with the power switch."
- "When the GRUB menu is displayed, select the boot entry that you want to modify, then type
e
to edit that entry." - "Using the arrow keys, navigate to the
$multiboot
line, then typeâÂÂs
at the end of the line." - "To exit the GRUB edit menu and boot the entry you just edited, press Control-X. If you are not using a serial console on a system with UEFI firmware, pressing F10 also boots the entry."
- "Verify that the system is at run level S." ... with
who -r
. - "Perform the maintenance task that required the change to run level S." (this is where you use
passwd yourusername
). - "Reboot the system."
The above is untested as I do not have a Solaris system available.
Login as root, and use
passwd yourusername
to set a new password for the user (change yourusername
to the appropriate name).
If you, for whatever reason, can not login as root, you may need to put the system into single user mode ("runlevel S") and issue the command from there. The steps for doing this is described in the official Oracle documentation and, for x86 platforms (not SPARC), boils down to
reboot -p
(hmmm... this assumes that you are root)- "If the system displays the Press Any Key to Reboot prompt, press any key to reboot the system. Or, you can also use the Reset button at this prompt."
- "If the system is shut down, turn the system on with the power switch."
- "When the GRUB menu is displayed, select the boot entry that you want to modify, then type
e
to edit that entry." - "Using the arrow keys, navigate to the
$multiboot
line, then typeâÂÂs
at the end of the line." - "To exit the GRUB edit menu and boot the entry you just edited, press Control-X. If you are not using a serial console on a system with UEFI firmware, pressing F10 also boots the entry."
- "Verify that the system is at run level S." ... with
who -r
. - "Perform the maintenance task that required the change to run level S." (this is where you use
passwd yourusername
). - "Reboot the system."
The above is untested as I do not have a Solaris system available.
answered Feb 17 at 12:39
Kusalananda
103k13202318
103k13202318
add a comment |Â
add a comment |Â
up vote
0
down vote
Unless "PASSREQ=NO" is set in /etc/default/login, you'd not be able to login with out a password--it's set to YES by default as well as reco'd.
You'll have to have a SA reset your password. If you're the only SA, you'll need to boot off media, mount the root pool, and manually edit the shadow or /etc/default/login file to get back in.
Another option if you're the only SA is that if you have any other boot environments (BE's), you could boot to an ABE, and from there mount the current BE to modify the shadow or /etc/default/login file to get back in on the current BE.
add a comment |Â
up vote
0
down vote
Unless "PASSREQ=NO" is set in /etc/default/login, you'd not be able to login with out a password--it's set to YES by default as well as reco'd.
You'll have to have a SA reset your password. If you're the only SA, you'll need to boot off media, mount the root pool, and manually edit the shadow or /etc/default/login file to get back in.
Another option if you're the only SA is that if you have any other boot environments (BE's), you could boot to an ABE, and from there mount the current BE to modify the shadow or /etc/default/login file to get back in on the current BE.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Unless "PASSREQ=NO" is set in /etc/default/login, you'd not be able to login with out a password--it's set to YES by default as well as reco'd.
You'll have to have a SA reset your password. If you're the only SA, you'll need to boot off media, mount the root pool, and manually edit the shadow or /etc/default/login file to get back in.
Another option if you're the only SA is that if you have any other boot environments (BE's), you could boot to an ABE, and from there mount the current BE to modify the shadow or /etc/default/login file to get back in on the current BE.
Unless "PASSREQ=NO" is set in /etc/default/login, you'd not be able to login with out a password--it's set to YES by default as well as reco'd.
You'll have to have a SA reset your password. If you're the only SA, you'll need to boot off media, mount the root pool, and manually edit the shadow or /etc/default/login file to get back in.
Another option if you're the only SA is that if you have any other boot environments (BE's), you could boot to an ABE, and from there mount the current BE to modify the shadow or /etc/default/login file to get back in on the current BE.
answered Feb 20 at 23:00
sleepyweasel
86319
86319
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f424778%2fdeleted-password-under-solaris-11%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password