1

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.

Jeff Schaller
  • 66,199
  • 35
  • 114
  • 250
Sidney Upton
  • 33
  • 1
  • 6
  • You can enter the full path of it on one line in `/etc/shells` - avoid spaces, special characters, etc – ivanivan Jan 12 '18 at 23:02

1 Answers1

2

Several ways:

  • sudo vi /etc/shells
  • printf "%s\n" "/path/to/shell" | sudo tee -a /etc/shells
  • ed /etc/shells # aEnter/path/to/shellEnter.EnterwqEnter
Jeff Schaller
  • 66,199
  • 35
  • 114
  • 250