File: telnet_login_wrapper

package info (click to toggle)
obs-build 20180831-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 2,396 kB
  • sloc: perl: 10,030; sh: 3,142; ansic: 284; makefile: 151; python: 35
file content (8 lines) | stat: -rwxr-xr-x 211 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#!/bin/sh

# login wrapper, just start a shell without arguments.
# this skips all parameters and is the only way to open a shell without login
# prompt on most telnetd implementations

/bin/bash --login || sh