4 posts
• Page 1 of 1
-
Posts: 4
- Joined: 01 Nov 2011
#1
hello, I have install the"antiX" linux in one my computer before a few days, but I don't remember the"username" and password, but I remember the"root" password, but always if I put"root" password again display"login", how I solve this problem? I wait for your answer... __{{emoticon}}__
-
Posts: 4,164
- Joined: 20 Feb 2009
#2
Not sure If I under stood right.
You can change password again as root in single user mode in live cd boot.
You can change password again as root in single user mode in live cd boot.
-
Posts: 4
- Joined: 01 Nov 2011
#3
the question is: I don't remember the username and password, only root password I remember and when I login with root again login display, how corrected this?
how boot single user mode?
I wait for your answer...
how boot single user mode?
I wait for your answer...
-
Posts: 1,062
- Joined: 20 Jan 2010
#4
You can add a"3" to the end of the grub boot line, this will load up to run level 3. You will be asked the username and password,
username: root (press enter / return)
password: YOUR ROOT PASSWORD (press enter / return)
type: ls /home (press enter / return)
This will give you a listing of all the user directories, choose one of the directories for USER below.
type: passwd USER (press enter / return)
type: your new USER password (press enter / return)
type: your new USER password again (press enter / return)
type: reboot (press enter / return)
*BOOT the machine normally and use the USER found above and the new password you made at the login screen
alternatively you could use the following command to find your user names
cat /etc/passwd |grep"1[0-9][0-9][0-9]" |cut -d":" -f1
username: root (press enter / return)
password: YOUR ROOT PASSWORD (press enter / return)
type: ls /home (press enter / return)
This will give you a listing of all the user directories, choose one of the directories for USER below.
type: passwd USER (press enter / return)
type: your new USER password (press enter / return)
type: your new USER password again (press enter / return)
type: reboot (press enter / return)
*BOOT the machine normally and use the USER found above and the new password you made at the login screen
alternatively you could use the following command to find your user names
cat /etc/passwd |grep"1[0-9][0-9][0-9]" |cut -d":" -f1