Score:0

Segmentation Error

nr flag

So I was trying to add alias to root and I ran nano ~/.bash_aliases and added the stuff in and once I save it a got a segmentation error and it booted me out of the root user and back to my user and now when trying to do su - root and login I just get "Segmentation fault (core dumped)"

Sadaharu Wakisaka avatar
pl flag
Welcome to AskUbuntu, the segmentation fault is an error that the program tries to access to the address non-existence. What is your question, what do you want to know about it?
Austin avatar
nr flag
I would like to be able to log back into root again, when I try to do su - root it asks for the password and trys but then gives me the segmentation error and kicks me back to my account.
Sadaharu Wakisaka avatar
pl flag
On Debian OS root Terminal is available and Ubuntu OS forbids root login by default. And of course, you can change it. https://askubuntu.com/questions/44418/how-to-enable-root-login
Austin avatar
nr flag
I had root login already before I tried to edit the alias file
Austin avatar
nr flag
I was using root when I was trying to edit the alias file and it kicked me out of it when I saved the file.
user10489 avatar
in flag
Saving the alias file would not cause you to be kicked out. Likely something else did that. `dmesg` might be informative. Also, you should be able to use su to run bash with arguments to tell it to ignore the alias file if that's actually the problem. Or use a different shell.
Austin avatar
nr flag
I think I didnt di it right and maybe messed up another file or something but I dont know whats wrong since I cant find anything in the logs about why its not letting me into root, I looked at the dmesg but didnt really see much in there what should I be looking for?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.