Tried to change user name, now cannot log in


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Tried to change user name, now cannot log in
# 15  
Old 06-29-2016
If you were in X11 and opened a GUI session, you may still have old credentials active e.g. cdi letting you as cdi open a new xterm, and it might save you as cdi should have sudo privilege, as you didnt change them...
That said going to single user mode is architecture and OS dependant... I see nowhere anything in your previous posts on this thread...
# 16  
Old 06-29-2016
Quote:
Originally Posted by kristinu
It is saying login incorrect

---------- Post updated at 11:50 AM ---------- Previous update was at 11:08 AM ----------

How can I get into single user mode?
What operating system are you using? For Linux kernel based, please, state the version of the distribution.
# 17  
Old 06-29-2016
Am using Trisquel 7, free system derived from Ubuntu
# 18  
Old 06-29-2016
Trisquel does not have the root user account available (it is locked) as it inherits this feature from Ubuntu. The first user created has administrator privileges which it is invoked by placing the command sudo in front of the task that requires elevated privileges.
It will ask you for a password, and that password is your password as a normal user.
sudo -i will give you a session as if you were root (you see the classic # for root). The password asked is your normal user login credentials.

---------- Post updated at 11:28 AM ---------- Previous update was at 11:12 AM ----------

Do you mind to post the output of the following command which will display the groups you are part of?
Code:
id guest-mKNnW5

# 19  
Old 06-29-2016
guest-rVMxCC@fuckup:~$ id guest-mKNnW5
id: guest-mKNnW5: no such user

---------- Post updated at 06:55 PM ---------- Previous update was at 06:31 PM ----------

My password did not let me in
# 20  
Old 06-29-2016
Quote:
Originally Posted by kristinu
guest-rVMxCC@fuckup:~$ id guest-mKNnW5
id: guest-mKNnW5: no such user

---------- Post updated at 06:55 PM ---------- Previous update was at 06:31 PM ----------

My password did not let me in
Yeah, I thought that username you posted previously was reveling, but this confirms it, anyway. You are login in as a very limited guest user. That's why the name changes every time. You are not login as the normal user, the one you have to make in order to install the OS.

At this point, if you do not remember what that credentials were, you might need to try to recover it. However, I warn you that you might render the system unusable.

Here's a link from the Ubuntu camp. It should be about the same.

Last edited by Aia; 06-29-2016 at 09:41 PM..
# 21  
Old 06-30-2016
Have tried, however did not manage to see (recovery mode).

---------- Post updated at 08:03 PM ---------- Previous update was at 06:19 PM ----------

Have used a Trisquel 7 CD and can see the system that I cannot boot from.

I did

Code:
sudo mount /dev/sda6 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys

However I cannot execute

Code:
sudo schroot /mnt

---------- Post updated at 08:38 PM ---------- Previous update was at 08:03 PM ----------

Now I have done

Code:
sudo dchroot /mnt /bin/bash

and getting

Code:
W: No chroots are defined in ‘/etc/schroot/schroot.conf' or ‘/etc/schroot/chroot.d'
E: default: Chroot not found

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Change user

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)
Discussion started by: meister29
8 Replies

2. AIX

How to change normal user id to LDAP user id?

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)
Discussion started by: rainbow_bean
4 Replies

3. UNIX for Dummies Questions & Answers

AIX User Change Log

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)
Discussion started by: RoshniMehta
0 Replies

4. Solaris

how to change /export/home/user dir to /home /user in solaris

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)
Discussion started by: kalyankalyan
2 Replies

5. Shell Programming and Scripting

Change user

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)
Discussion started by: abdujaparov
9 Replies

6. UNIX for Dummies Questions & Answers

change user> to user@host> ssh prompt

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)
Discussion started by: pmasterkim
2 Replies

7. Shell Programming and Scripting

How do i change to super user then revert back to ordinary user ,using shell script?

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

Change of user name

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

User name change?

Hello, I love the service. My username is Jmt. Can I change that to WebKruncher? Thanks, -Jmt WebKruncher.com - sole proprietor. (1 Reply)
Discussion started by: Jmt
1 Replies
Login or Register to Ask a Question