I downloaded Kali linux, great os if you ask me, but I want to set the PATH to /sbin/
How do I do that, I want to set it permanantly and how do I make my account root so that I can create new files in /etc ... and so forth?
MasterHacker110 -4 Newbie Poster
Recommended Answers
Jump to PostActually Mike, you don't want to set PATH in .bashrc, as it is executed on each invocation of bash, sometimes resulting in PATH variables like "/sbin:/sbin:/sbin:/usr/bin:...". Path should only be set (in my opinion) in .bash_profile, or in a manually run script when you need to temporarily add a new …
Jump to PostNP Mike. I've run into the "massively concatenated environment variable" issue before, even to the point of exceeding the maximum length of an environment variable. That's how I know about the problem! :-) You know that old saw - "It hurts when I do that!" - resp. "Then don't do …
All 5 Replies
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
MasterHacker110 -4 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.