[NetBehaviour] the life of kerberos
James Morris
james at jwm-art.net
Sat Jun 20 23:30:52 CEST 2015
[living at the-dream ~]$ ls /mnt/terrafirma/
ls: cannot open directory /mnt/terrafirma/: Permission denied
[living at the-dream ~]$ grep terrafirma /etc/fstab
# read/write NFS terrafirma mount:
terrafirma:/ /mnt/terrafirma/ nfs4
sec=krb5,rw,users,noauto,x-systemd.automount,x-systemd.device-timeout=1imeo=14,noatime
0 0
[living at the-dream ~]$ kinit
Password for living at CALLIGRAPHY.PEN:
[living at the-dream ~]$ ls /mnt/terrafirma/
cost memories footsteps
[living at the-dream ~]$ touch /mnt/terrafirma/
touch: setting times of '/mnt/terrafirma/': Read-only file system
[living at the-dream ~]$ touch /mnt/terrafirma/cost/
touch: setting times of '/mnt/terrafirma/cost/': Permission denied
[living at the-dream ~]$ touch /mnt/terrafirma/memories/
touch: setting times of '/mnt/terrafirma/memories/': Read-only file system
[living at the-dream ~]$ touch /mnt/terrafirma/footsteps/
[living at the-dream ~]$ kdestroy
[living at the-dream ~]$ ls /mnt/terrafirma/
cost memories footsteps
[living at the-dream ~]$ umount /mnt/terrafirma
[living at the-dream ~]$ ls /mnt/terrafirma/
ls: cannot open directory /mnt/terrafirma/: Permission denied
[living at the-dream ~]$ umount /mnt/terrafirma
[living at the-dream ~]$ umount /mnt/terrafirma
umount: /mnt/terrafirma: umount failed: Operation not permitted
[living at the-dream ~]$ sudo systemctl stop mnt-terrafirma.automount
[sudo] password for living:
[living at the-dream ~]$ ls /mnt/terrafirma/
[living at the-dream ~]$ kinit
Password for living at CALLIGRAPHY.PEN:
[living at the-dream ~]$ ls /mnt/terrafirma/
[living at the-dream ~]$ mount /mnt/terrafirma/
[living at the-dream ~]$ ls /mnt/terrafirma/
cost memories footsteps
[living at the-dream ~]$ kdestroy
[living at the-dream ~]$ kinit
Password for living at CALLIGRAPHY.PEN:
[living at the-dream ~]$ kinit
Password for living at CALLIGRAPHY.PEN:
kinit: Password read interrupted while getting initial credentials
[living at the-dream ~]$ klist
Ticket cache: FILE:/tmp/krb5cc_2015
Default principal: living at CALLIGRAPHY.PEN
Valid starting Expires Service principal
20/06/15 22:04:18 21/06/15 08:04:18 krbtgt/CALLIGRAPHY.PEN at CALLIGRAPHY.PEN
renew until 21/06/15 22:04:14
[living at the-dream ~]$ hostname
the-dream
[living at the-dream ~]$ hostname -f
the-dream.calligraphy.pen
[living at the-dream ~]$ id
uid=2015(living) gid=2015(flagrant)
groups=2015(flagrant),10(wheel),92(audio),95(storage),1101(printadmin),1108(lp),1109(scanner)
[living at the-dream ~]$
More information about the NetBehaviour
mailing list