Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ec2-user@ip-172-31-21-122 html]$ ls -al /usr/share/nginx
- total 12
- drwxr-xr-x 3 root root 4096 Jun 13 22:44 .
- drwxr-xr-x 93 root root 4096 Jul 12 22:58 ..
- drwxr-sr-x 5 viUser-ftp www 4096 Jul 15 16:34 html
- [ec2-user@ip-172-31-21-122 html]$ ls -al /usr/share/nginx/html
- total 40
- drwxr-sr-x 5 viUser-ftp www 4096 Jul 15 16:34 .
- drwxr-xr-x 3 root root 4096 Jun 13 22:44 ..
- -rw-rwSr-- 1 viUser-ftp www 3696 Jun 13 22:43 404.html
- -rw-rwSr-- 1 viUser-ftp www 3738 Jun 13 22:43 50x.html
- -rw-rwSr-- 1 viUser-ftp www 3770 Jun 13 22:43 index.html
- -rw-rwSr-- 1 viUser-ftp www 17 Jun 2 23:40 info.php
- -rw-rwSr-- 1 viUser-ftp www 368 Jun 13 22:43 nginx-logo.png
- lrwxrwxrwx 1 viUser-ftp www 32 Jun 24 21:53 poweredby.png -> /usr/share/pixmaps/poweredby.png
- drwxr-sr-x 2 viUser-ftp ec2-user 4096 Jul 15 16:56 prueba
- drwxrwsr-x 7 viUser-ftp www 4096 Jul 15 16:05 sites
- drwxrwsr-x 2 viUser-ftp www 4096 Jun 14 22:38 sslviventoura.de
- [ec2-user@ip-172-31-21-122 html]$ cat /etc/passwd
- root:x:0:0:root:/root:/bin/bash
- bin:x:1:1:bin:/bin:/sbin/nologin
- daemon:x:2:2:daemon:/sbin:/sbin/nologin
- adm:x:3:4:adm:/var/adm:/sbin/nologin
- lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
- sync:x:5:0:sync:/sbin:/bin/sync
- shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
- halt:x:7:0:halt:/sbin:/sbin/halt
- mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
- uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
- operator:x:11:0:operator:/root:/sbin/nologin
- games:x:12:100:games:/usr/games:/sbin/nologin
- gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
- ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
- nobody:x:99:99:Nobody:/:/sbin/nologin
- rpc:x:32:32:Rpcbind Daemon:/var/cache/rpcbind:/sbin/nologin
- ntp:x:38:38::/etc/ntp:/sbin/nologin
- saslauth:x:499:76:"Saslauthd user":/var/empty/saslauth:/sbin/nologin
- mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
- smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
- rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
- nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
- sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
- dbus:x:81:81:System message bus:/:/sbin/nologin
- ec2-user:x:500:500:EC2 Default User:/home/ec2-user:/bin/bash
- nginx:x:498:497:Nginx web server:/var/lib/nginx:/sbin/nologin
- apache:x:48:48:Apache:/var/www:/sbin/nologin
- memcached:x:497:496:Memcached daemon:/var/run/memcached:/sbin/nologin
- mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
- viUser-ftp:x:501:501::/usr/share/nginx/html/:/bin/bash
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement