Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # grep theuser /etc/passwd
- theuser:x:1111:1111::/home/theuser:/bin/bash
- $ cat /home/theuser/.bash_profile
- # .bash_profile
- # Get the aliases and functions
- if [ -f ~/.bashrc ]; then
- . ~/.bashrc
- fi
- # User specific environment and startup programs
- PATH=$PATH:$HOME/scripts
- export PATH
- unset USERNAME
- /home/theuser/scripts/prompts
- exit
- $ telnet localhost 23
- Trying ::1...
- Trying 127.0.0.1...
- Connected to localhost.
- Escape character is '^]'.
- machinename login: theuser
- Password:
- Last login: Fri Mar 24 14:25:48 CST 2017 from localhost on pts/5
- prompt 1:
- $ netstat -tulpn | grep 23
- tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 2222/inetd
- telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement