kihei/i-05312dad7e1185a46
by SadServersMore by SadServers
-l, --lock lock the password of the named account -n, --mindays MIN_DAYS set minimum number of days before password change to MIN_DAYS -q, --quiet quiet mode -r, --repository REPOSITORY change password in REPOSITORY repository -R, --root CHROOT_DIR directory to chroot into -S, --status report password status on the named account -u, --unlock unlock the password of the named account -w, --warndays WARN_DAYS set expiration warning days to WARN_DAYS -x, --maxdays MAX_DAYS set maximum number of days before password change to MAX_DAYS admin@i-05d764fc7a0200ea6:~$ passwd Changing password for admin. Current password:
paris/i-05d764fc7a0200ea6 00:32
by SadServers*flag.int64Value,flag.Valuego.itab.*flag.stringValue,flag.Valuego.itab.*flag.uin*flag.uint64Value,flag.Valuego.itab.*strings.Builder,io.Writergo.itab.*errors.ermt.wrapError,errorgo.itab.*fmt.pp,fmt.Statego.itab.*os.File,io.Readergo.itab.systab.*io/fs.PathError,errorgo.itab.*os.SyscallError,errorgo.itab.syscall.Errno,erio.Writergo.itab.*os.fileStat,io/fs.FileInfogo.itab.*io.LimitedReader,io.Readerggo.itab.*os/exec.ExitError,errorgo.itab.*os/exec.Error,errorgo.itab.*bufio.Reader.UnknownUserIdError,errorgo.itab.*internal/reflectlite.rtype,internal/reflectliizeError,errorgo.itab.*internal/fmtsort.SortedMap,sort.Interfacego.itab.runtime.t_cgo_thread_start_cgo_notify_runtime_init_done_cgo_callers_cgo_yield_cgo_mmap_cntime.mainPCgo.itab.*internal/poll.DeadlineExceededError,errorgo.itab.internal/pntime.defaultGOROOT.strruntime.buildVersion.strruntime.modinfo.strtype.*runtime.58c220d3e62109:~$ ^C admin@i-0c358c220d3e62109:~$ ^C admin@i-0c358c220d3e62109:~$ ^C admin@i-0c358c220d3e62109:~$
kihei/i-0c358c220d3e62109 00:28
by SadServersNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme0n1 259:1 0 8G 0 disk nvme0n1p1 259:2 0 7.9G 0 part / nvme0n1p14 259:3 0 3M 0 part nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme2n1 259:5 0 1G 0 disk admin@i-09db637cee5e4851b:~$ sudo su root@i-09db637cee5e4851b:/home/admin# pvcreate nvme1n1 nvme2n1 No device found for nvme1n1. No device found for nvme2n1. root@i-09db637cee5e4851b:/home/admin# pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. root@i-09db637cee5e4851b:/home/admin# vgcreate vg /dev/nvme1n1/
kihei/i-09db637cee5e4851b 01:55
by SadServersnvme1n1 259:1 0 1G 0 disk nvme2n1 259:5 0 1G 0 disk root@i-043dab6b958462a19:~# pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g root@i-043dab6b958462a19:~# vgcreate /dev/sdb /dev/sdc /dev/sdb: already exists in filesystem Run `vgcreate --help' for more information. root@i-043dab6b958462a19:~# vgcreate my_vg /dev/sdb /dev/sdc Volume group "my_vg" successfully created root@i-043dab6b958462a19:~# vgs VG #PV #LV #SN Attr VSize VFree my_vg 2 0 0 wz--n- 1.99g 1.99g root@i-043dab6b958462a19:~# pvcreate -L 1,99 -n