On 12/2/23 03:24, fuf wrote:
Hello all again.
I  recently  installed Debian-12.  Your advises calmed me but will be used
it's tomorrow so as now eyes shutting down.
Good morning!
I began since top of your advices i.e.
https://wiki.debian.org/NewInBuster#Changes and reading: "The su command in
buster is provided by the util-linux source package, instead of the shadow
source package, and no longer alters the PATH variable by default. This
means that after doing su, your PATH may not contain directories like
/sbin, and many system administration commands will fail. There are several
workarounds:
     Use su - instead; this launches a login shell, which forces PATH to be
changed, but also changes everything else including the working directory."
It was tried and at once into point!,
further I didn't read as fear to tangle.
All to luck!
--fuf


My Debian workstation:

2023-12-02 09:20:20 dpchrist@taz ~
$ cat /etc/debian_version ; uname -a
11.8
Linux taz 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux


How to login as root using su(1):

2023-12-02 09:22:38 dpchrist@taz ~
$ su -
Password:

2023-12-02 09:22:47 root@taz ~
#


How to list disk partition tables using fdisk(8):

2023-12-02 09:22:47 root@taz ~
# fdisk -l
Disk /dev/sda: 55.9 GiB, 60022480896 bytes, 117231408 sectors
Disk model: INTEL SSDSC2CW06
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: ***redacted***

Device        Start       End  Sectors  Size Type
/dev/sda1      2048   1953791  1951744  953M EFI System
/dev/sda2   1953792   3907583  1953792  954M Linux filesystem
/dev/sda3   3907584   5861375  1953792  954M Linux filesystem
/dev/sda4   5861376  29298687 23437312 11.2G Linux filesystem
/dev/sda5  29298688 117229567 87930880 41.9G Linux filesystem


Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA DT01ACA1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: ***redacted***

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdb1        2048 1953523711 1953521664 931.5G 83 Linux


Disk /dev/mapper/sda4_crypt: 11.16 GiB, 11983126528 bytes, 23404544 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/sda3_crypt: 954 MiB, 1000341504 bytes, 1953792 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/sda5_crypt: 41.91 GiB, 45003833344 bytes, 87898112 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


David

Reply via email to