[game] Commands role play - Community & Forums Related Discussions
pranomostro
>Loled at the title. Is it him?
Yes, it is. I just needed a name with non-ASCII characters.
And I find he is quite interesting.

Code:
cd $(dirnam $(find / -name Makefile | sed -n 2p)) && make

Code:
{A lot of output by a C compiler, it seems}

A few hours later:

Code:
#wow, that takes a long time to compile!
#is that a kernel?
^C
make -B >/dev/null &; pwd
josuah
(18-04-2016, 09:35 AM)pranomostro Wrote: make -B >/dev/null &; pwd

Code:
/usr/src/lunix


Code:
$ grep -r torvalds

Linus are you here !?
venam
(18-04-2016, 09:10 PM)sshbio Wrote:
Code:
$ grep -r torvalds

Weirdly only one file popped up...
Code:
readme.md:Let's hope torvalds doesn't find this!

Code:
> cd && netstat -tulpen
josuah
Ah! I'm stuck! I need to learn about networking, and this is the occasion to get started.

(20-04-2016, 01:07 AM)venam Wrote: cd && netstat -tulpen

So I'll go with this:

Code:
Active Internet connections
Proto   Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp          0      1  servs.ssh              me.straight-ho.243     ESTABLISHED
tcp          0      0  0.0.0.0:22             0.0.0.0:*              LISTEN      1928/sshd
tcp          0      0  :::22                  :::*                   LISTEN      1928/sshd
udp          0      0  0.0.0.0:5353           0.0.0.0:*                          18300/plugins
udp          0      0  127.0.0.1:323          0.0.0.0:*                          1872/chronyd
udp          0      0  ::1:323                :::*                               1872/chronyd

It's interesting, now I'll try to back it up so that I can study it elsewhere. How will I do this...

Code:
$ sudo^U mount
venam
Code:
$ sudo mount

This replied
Code:
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=1337)

Let's try this...maybe there's an intruder:
Code:
> lastlog
josuah
(27-04-2016, 12:45 AM)venam Wrote: > lastlog

Code:
Username         Port     From             Latest
root             tty1                      Tue May  3 03:00:27 +0200 2016
daemon                                     **Never logged in**
bin                                        **Never logged in**
sys                                        **Never logged in**
sync                                       **Never logged in**
man                                        **Never logged in**
lp                                         **Never logged in**
mail                                       **Never logged in**
news                                       **Never logged in**
uucp                                       **Never logged in**
proxy                                      **Never logged in**
www-data                                   **Never logged in**
backup                                     **Never logged in**
list                                       **Never logged in**
irc                                        **Never logged in**
nobody                                     **Never logged in**
systemd-timesync                           **Never logged in**
systemd-network                            **Never logged in**
systemd-resolve                            **Never logged in**
systemd-bus-proxy                           **Never logged in**
syslog                                     **Never logged in**
messagebus                                 **Never logged in**
uuidd                                      **Never logged in**
ntp                                        **Never logged in**
colord                                     **Never logged in**
dnsmasq                                    **Never logged in**
kernoops                                   **Never logged in**
user             tty1                      Tue May  3 07:18:14 +0200 2016
postfix                                    **Never logged in**
bkdr             tty2                      Mon Jan  1 00:00:00 +0000 1970

Wait what? A very old user?

Code:
> sed -n /bkdr/ /etc/passwd




Members  |  Stats  |  Night Mode