Boot again from LiveCD
Open a terminal
Find which one is the root partition of the OS
Most likely is /dev/sda1
Test if you have mounted the root partition, go to it:
You should be seeing a proper directory hierarchy with: boot, bin, home, dev, opt, var, etc
If not, umount /mnt/forgot and start again with /dev/sdaX where X is another number you think is a possibility from the output of lsblk Extra note:
If you do not know which one is the user with admin privileges, while you are still chrooted in /mnt/forgot
Look for any user name (first column, if you separate it by the :)
Choose one that is not root and it says /bin/bash at the last column
Look for the (sudo) in the output. That's an user you can use to gain access to your system.
You are not giving much to go on. Your feed back needs to be more detailed. What's the error?
What's the user you are login as when you get the error? Are you booting from the LiveCD?
Did you follow the instructions step by step? I took the time to put clear instructions I know that works, with minimum requirements to understand.
Were you able to identify the CORRECT partition? I suspect /dev/sda6 is NOT.
Were you able to identify the user you want to reset the password for?
Which user is that?
A question I should had asked before:
When you did login originally as a guest user, did you see the screen with an option to choose another user? What's the reason you were logging in as a guest? What's the other option user that it shows at the UI login screen?
Boot again from LiveCD
Now, carefully, find the line that starts with user hagbard and delete the hash for the password. Be careful, here. Start deleting from the $6 all the way to the next :
Leave it as something like this:
Count the colons, there should be 8.
Save the file.
After that, you should be able to login back with user hagbard by not entering anypassword and pressing enter.
Last edited by Aia; 07-01-2016 at 06:10 PM..
Reason: s/shadown/shadow/
Hi All,
need your assistance, how can i change user again after i change my user.
here is the code that i tried
su - myuser #success
su - webuser ##what i want to try is to change user again to webuser from myuser account
my output is it cannot change to webuser account. only in... (8 Replies)
If I create a new user id test:
mkuser id=400 test
then I want it to LDAP user:
chuser -R LDAP SYSTEM=LDAP registry=LDAP test
It shows:
3004-687 User "test" does not exist.
How to do? (4 Replies)
Hello All,
If a user in AIX is locked due to multiple failed login attempts. How do I find out the IP address from where failed attempts were made?
regards,
Roshni (0 Replies)
Hi all
i am using solaris 10, i am creating user with
useradd -d/home/user -m -s /bin/sh user
user is created with in the following path
/export/home/user (auto mount)
i need the user to be created like this
(/home as default home directory )
useradd -d /home/user -m -s /bin/sh... (2 Replies)
Hi,
I have to change many times user in a script.
With the command su userName I receive the request for password. I need to open a session with another user I would put the password at the beginning.
How can I do it?
Thanks, bye bye.
---------- Post updated 22-04-10 at 10:58 AM ----------... (9 Replies)
Hi, I was wondering how to change the prompt for my ssh login. At the moment it is like
user>
while I'd like it to be as
user@host>
It is in the .bash_profile or .ssh ??? Thanks (2 Replies)
Hi all,
I am trying to eject the cdrom from a livecd after certain stage...
Now assuming that it is possible to eject,please consider my issue!!!
The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive...
However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies
8. Forum Support Area for Unregistered Users & Account Problems
I am on several other Forums under the handle of FloridaBD and therefore
would like to request that my user name here on Unix forums be changed from
SunBurntYux
to FloridaBSD
Thanks. (1 Reply)
Discussion started by: SunBurntYux
1 Replies
9. Post Here to Contact Site Administrators and Moderators