How do I properly add a python shell to the shells file under /etc/shells?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I would also like to do the same for metasploit. I know that using Kali would be more practical but my PC isn't good enough to run it on VB.
linux shell python3 metasploit
add a comment |Â
up vote
0
down vote
favorite
I would also like to do the same for metasploit. I know that using Kali would be more practical but my PC isn't good enough to run it on VB.
linux shell python3 metasploit
You can enter the full path of it on one line in/etc/shells
- avoid spaces, special characters, etc
â ivanivan
Jan 12 at 23:02
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I would also like to do the same for metasploit. I know that using Kali would be more practical but my PC isn't good enough to run it on VB.
linux shell python3 metasploit
I would also like to do the same for metasploit. I know that using Kali would be more practical but my PC isn't good enough to run it on VB.
linux shell python3 metasploit
edited Jan 13 at 0:01
Jeff Schaller
31.8k848109
31.8k848109
asked Jan 12 at 22:58
Sidney Upton
135
135
You can enter the full path of it on one line in/etc/shells
- avoid spaces, special characters, etc
â ivanivan
Jan 12 at 23:02
add a comment |Â
You can enter the full path of it on one line in/etc/shells
- avoid spaces, special characters, etc
â ivanivan
Jan 12 at 23:02
You can enter the full path of it on one line in
/etc/shells
- avoid spaces, special characters, etcâ ivanivan
Jan 12 at 23:02
You can enter the full path of it on one line in
/etc/shells
- avoid spaces, special characters, etcâ ivanivan
Jan 12 at 23:02
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Several ways:
- sudo vi /etc/shells
- printf "%sn" "/path/to/shell" | sudo tee -a /etc/shells
- ed /etc/shells # aEnter/path/to/shellEnter.EnterwqEnter
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Several ways:
- sudo vi /etc/shells
- printf "%sn" "/path/to/shell" | sudo tee -a /etc/shells
- ed /etc/shells # aEnter/path/to/shellEnter.EnterwqEnter
add a comment |Â
up vote
0
down vote
Several ways:
- sudo vi /etc/shells
- printf "%sn" "/path/to/shell" | sudo tee -a /etc/shells
- ed /etc/shells # aEnter/path/to/shellEnter.EnterwqEnter
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Several ways:
- sudo vi /etc/shells
- printf "%sn" "/path/to/shell" | sudo tee -a /etc/shells
- ed /etc/shells # aEnter/path/to/shellEnter.EnterwqEnter
Several ways:
- sudo vi /etc/shells
- printf "%sn" "/path/to/shell" | sudo tee -a /etc/shells
- ed /etc/shells # aEnter/path/to/shellEnter.EnterwqEnter
answered Jan 13 at 0:05
Jeff Schaller
31.8k848109
31.8k848109
add a comment |Â
add a comment |Â
Â
draft saved
draft discarded
Â
draft saved
draft discarded
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416702%2fhow-do-i-properly-add-a-python-shell-to-the-shells-file-under-etc-shells%23new-answer', 'question_page');
);
Post as a guest
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
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
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
You can enter the full path of it on one line in
/etc/shells
- avoid spaces, special characters, etcâ ivanivan
Jan 12 at 23:02