Ubuntu 16.04: I cleared PATH in .profile - now I can neither login, nor fix .profile from recovery. Is there a way I to not load .profile at startup?Decrypt $HOME from Separate Partition after re-installRecovering eCryptfs partition with ecryptfs-recover-private not workingeCryptfs - Cannot decrypt filenamesCan't access my home directory “Encrypted private directory is not setup properly”Run command on logout, *before* encrypted home is unmountedHow can i access my encrypted hard drive on another pc?Unable to access encrypted LVM /home directory on UbuntuRecover /home/ after deleting /usr/lib
Is there a simple way to apply a function to the RHS of a substitution?
Why is matter-antimatter asymmetry surprising, if asymmetry can be generated by a random walk in which particles go into black holes?
Can I bring alcohol to Dubai?
Does "Op. cit." stand for "opus citatum" or "opere citato"?
div innerHTML with standard lightning web components
Sanitise a high score table
Modern warfare theory in a medieval setting
Why does transition from one electron shell to another shell always produce massless photon?
I am confused with the word order when putting a sentence into passé composé with reflexive verbs
In Men at Arms, why announce Edward was caught?
Why is the logical NOT operator in C-style languages "!" and not "~~"?
Is there a more efficient alternative to pull down resistors?
Son of the Revenge of the Riley Riddles in Reverse Strikes Again
What does IKEA-like mean?
What if a quote contains an error
Can I perform Umrah while on a Saudi Arabian visit e-visa
How much money should I save in order to generate $1000/month for the rest of my life?
Is sleeping on the ground in cold weather better than on an air mattress?
How to make "acts of patience" exciting?
Test if two food are the same
Why does unique_ptr<Derived> implicitly cast to unique_ptr<Base>?
Can a Dragon enter the Feywild without having to use fey crossing portals?
Find the percentage
Why do previous versions of Debian packages vanish in the package repositories? (highly relevant for version-controlled system configuration)
Ubuntu 16.04: I cleared PATH in .profile - now I can neither login, nor fix .profile from recovery. Is there a way I to not load .profile at startup?
Decrypt $HOME from Separate Partition after re-installRecovering eCryptfs partition with ecryptfs-recover-private not workingeCryptfs - Cannot decrypt filenamesCan't access my home directory “Encrypted private directory is not setup properly”Run command on logout, *before* encrypted home is unmountedHow can i access my encrypted hard drive on another pc?Unable to access encrypted LVM /home directory on UbuntuRecover /home/ after deleting /usr/lib
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
So I've already looked at the guide that asked me to just change ~/.profile from recovery, but unfortunately I cannot do that since my home directory is encrypted and when I try to decrypt it from root recovery, I just get the message that my
encrypted private directory is not set up properly
I really appreciate any help be it getting access to my encrypted home directory or forcing ~/.profile to not load at startup.
16.04 encryption recovery-mode
add a comment
|
So I've already looked at the guide that asked me to just change ~/.profile from recovery, but unfortunately I cannot do that since my home directory is encrypted and when I try to decrypt it from root recovery, I just get the message that my
encrypted private directory is not set up properly
I really appreciate any help be it getting access to my encrypted home directory or forcing ~/.profile to not load at startup.
16.04 encryption recovery-mode
One possible workaround might be to change your user's login shell to one that doesn't read .profile (tcshfor example - in fact pretty much anycsh- orzsh) - you should be able to do so from recovery mode (after remounting the root filesytem in read-write mode) usingchsh
– steeldriver
Apr 17 at 17:53
@steeldriver Thank you so much for your help! I ran 'sudo apt-get install tcsh' & 'chsh -s /bin/tcsh chaoscrasher' from recovery, I still get the same problem on login. Anything I'm doing wrong?
– Chaoscrasher
Apr 17 at 18:12
@steeldriver I actually was able to login with a x2go connection & fix the problem, so I guess that's nice.
– Chaoscrasher
Apr 17 at 19:00
Perhaps you would consider adding that as an answer (explaining the steps)?
– steeldriver
Apr 17 at 19:07
Well, it's only useful if you happen to have an x2go server running when this happens, so this would be a very special case solution. Should I still add it?
– Chaoscrasher
Apr 18 at 8:49
add a comment
|
So I've already looked at the guide that asked me to just change ~/.profile from recovery, but unfortunately I cannot do that since my home directory is encrypted and when I try to decrypt it from root recovery, I just get the message that my
encrypted private directory is not set up properly
I really appreciate any help be it getting access to my encrypted home directory or forcing ~/.profile to not load at startup.
16.04 encryption recovery-mode
So I've already looked at the guide that asked me to just change ~/.profile from recovery, but unfortunately I cannot do that since my home directory is encrypted and when I try to decrypt it from root recovery, I just get the message that my
encrypted private directory is not set up properly
I really appreciate any help be it getting access to my encrypted home directory or forcing ~/.profile to not load at startup.
16.04 encryption recovery-mode
16.04 encryption recovery-mode
edited Apr 18 at 10:14
Simon Sudler
2,17010 silver badges21 bronze badges
2,17010 silver badges21 bronze badges
asked Apr 17 at 17:45
ChaoscrasherChaoscrasher
11 bronze badge
11 bronze badge
One possible workaround might be to change your user's login shell to one that doesn't read .profile (tcshfor example - in fact pretty much anycsh- orzsh) - you should be able to do so from recovery mode (after remounting the root filesytem in read-write mode) usingchsh
– steeldriver
Apr 17 at 17:53
@steeldriver Thank you so much for your help! I ran 'sudo apt-get install tcsh' & 'chsh -s /bin/tcsh chaoscrasher' from recovery, I still get the same problem on login. Anything I'm doing wrong?
– Chaoscrasher
Apr 17 at 18:12
@steeldriver I actually was able to login with a x2go connection & fix the problem, so I guess that's nice.
– Chaoscrasher
Apr 17 at 19:00
Perhaps you would consider adding that as an answer (explaining the steps)?
– steeldriver
Apr 17 at 19:07
Well, it's only useful if you happen to have an x2go server running when this happens, so this would be a very special case solution. Should I still add it?
– Chaoscrasher
Apr 18 at 8:49
add a comment
|
One possible workaround might be to change your user's login shell to one that doesn't read .profile (tcshfor example - in fact pretty much anycsh- orzsh) - you should be able to do so from recovery mode (after remounting the root filesytem in read-write mode) usingchsh
– steeldriver
Apr 17 at 17:53
@steeldriver Thank you so much for your help! I ran 'sudo apt-get install tcsh' & 'chsh -s /bin/tcsh chaoscrasher' from recovery, I still get the same problem on login. Anything I'm doing wrong?
– Chaoscrasher
Apr 17 at 18:12
@steeldriver I actually was able to login with a x2go connection & fix the problem, so I guess that's nice.
– Chaoscrasher
Apr 17 at 19:00
Perhaps you would consider adding that as an answer (explaining the steps)?
– steeldriver
Apr 17 at 19:07
Well, it's only useful if you happen to have an x2go server running when this happens, so this would be a very special case solution. Should I still add it?
– Chaoscrasher
Apr 18 at 8:49
One possible workaround might be to change your user's login shell to one that doesn't read .profile (
tcsh for example - in fact pretty much any csh - or zsh) - you should be able to do so from recovery mode (after remounting the root filesytem in read-write mode) using chsh– steeldriver
Apr 17 at 17:53
One possible workaround might be to change your user's login shell to one that doesn't read .profile (
tcsh for example - in fact pretty much any csh - or zsh) - you should be able to do so from recovery mode (after remounting the root filesytem in read-write mode) using chsh– steeldriver
Apr 17 at 17:53
@steeldriver Thank you so much for your help! I ran 'sudo apt-get install tcsh' & 'chsh -s /bin/tcsh chaoscrasher' from recovery, I still get the same problem on login. Anything I'm doing wrong?
– Chaoscrasher
Apr 17 at 18:12
@steeldriver Thank you so much for your help! I ran 'sudo apt-get install tcsh' & 'chsh -s /bin/tcsh chaoscrasher' from recovery, I still get the same problem on login. Anything I'm doing wrong?
– Chaoscrasher
Apr 17 at 18:12
@steeldriver I actually was able to login with a x2go connection & fix the problem, so I guess that's nice.
– Chaoscrasher
Apr 17 at 19:00
@steeldriver I actually was able to login with a x2go connection & fix the problem, so I guess that's nice.
– Chaoscrasher
Apr 17 at 19:00
Perhaps you would consider adding that as an answer (explaining the steps)?
– steeldriver
Apr 17 at 19:07
Perhaps you would consider adding that as an answer (explaining the steps)?
– steeldriver
Apr 17 at 19:07
Well, it's only useful if you happen to have an x2go server running when this happens, so this would be a very special case solution. Should I still add it?
– Chaoscrasher
Apr 18 at 8:49
Well, it's only useful if you happen to have an x2go server running when this happens, so this would be a very special case solution. Should I still add it?
– Chaoscrasher
Apr 18 at 8:49
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134721%2fubuntu-16-04-i-cleared-path-in-profile-now-i-can-neither-login-nor-fix-pro%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134721%2fubuntu-16-04-i-cleared-path-in-profile-now-i-can-neither-login-nor-fix-pro%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
One possible workaround might be to change your user's login shell to one that doesn't read .profile (
tcshfor example - in fact pretty much anycsh- orzsh) - you should be able to do so from recovery mode (after remounting the root filesytem in read-write mode) usingchsh– steeldriver
Apr 17 at 17:53
@steeldriver Thank you so much for your help! I ran 'sudo apt-get install tcsh' & 'chsh -s /bin/tcsh chaoscrasher' from recovery, I still get the same problem on login. Anything I'm doing wrong?
– Chaoscrasher
Apr 17 at 18:12
@steeldriver I actually was able to login with a x2go connection & fix the problem, so I guess that's nice.
– Chaoscrasher
Apr 17 at 19:00
Perhaps you would consider adding that as an answer (explaining the steps)?
– steeldriver
Apr 17 at 19:07
Well, it's only useful if you happen to have an x2go server running when this happens, so this would be a very special case solution. Should I still add it?
– Chaoscrasher
Apr 18 at 8:49