SMP_REP_ZONE_MAN_PASS(8)
β¨ smp_rep_zone_man_pass β¨
okay bestie, gather round, because this is smp_rep_zone_man_pass(8) from the smp_utils collection and it is exactly what it sounds like: the little tool that goes and asks an SMP target for the REPORT ZONE MANAGER PASSWORD function. yes. the password. the zone manager one. she's nosy and we love her for it π
π NAME π
smp_rep_zone_man_pass β invoke the REPORT ZONE MANAGER PASSWORD function, periodt.
π¦ SYNOPSIS π¦
smp_rep_zone_man_pass [--fpass=FP] [--help] [--hex] [--interface=PARAMS]
[--phex] [--raw] [--report=RT] [--sa=SAS_ADDR] [--verbose] [--version]
SMP_DEVICE[,N]
πΈ DESCRIPTION πΈ
So here's the vibe: this sends a SAS Serial Management Protocol (SMP) REPORT ZONE MANAGER PASSWORD function request over to an SMP target. that's the whole job. no notes.
Which target, you ask? the SMP target is identified by two things working together: the SMP_DEVICE and the --sa=SAS_ADDR. and depending on which interface you're using, the SAS_ADDR might just be deduced straight from the SMP_DEVICE β she can figure it out herself sometimes, lowkey iconic.
but the mpt interface? different story, bestie. it uses SMP_DEVICE to identify an HBA (that's an SMP initiator) and it needs that extra ,N tacked on so it can tell the difference between HBAs when there's more than one hanging around. so if you've got multiple, don't forget the comma number or she will simply not know which one you mean π
π OPTIONS π
quick heads up before we dive in: mandatory arguments to long options are mandatory for short options too. no shortcuts on the shortcuts, sorry girlie.
-F,--fpass=FPβFPis the name of a file, and the password gets written into it. and if you just... don't use this option? the default action is writing the password to stdout. so she'll just say it out loud, basically.-h,--helpβ spits out the usage message and then dips. exit stage left. π«Ά-H,--hexβ outputs the response (minus the CRC field, obviously) in hexadecimal. and if you only want the password in hex? that's a different option, use--phex. don't get it twisted.-I,--interface=PARAMSβ interface specific parameters. and yeah, "interface" here means the path through the operating system to the SMP initiator. if you want the full tea, go read thesmp_utilsman page. she explains it better than I can.-p,--phexβ Output the password in comma separated hexadecimal bytes. and if you don't use this option, the password comes out in ASCII surrounded by single quotes. also note: the hexadecimal bytes are output with a hex indication (i.e. there is nos leading"0x"nor trailing"h"). that's a direct quote, I'm not fixing her typos, she's perfect. β¨-r,--rawβ sends the response (minus the CRC field) to stdout in binary. and all the error messages? they go to stderr. keeping it separated, as she should.-R,--report=RTβ sets the 'report type' field in the SMP request.RTcan be these values, memorize them:0β report the current zone manager password (default)1β reserved2β report the saved zone manager password3β report the default zone manager password
-s,--sa=SAS_ADDRβ specifies the SAS address of the SMP target device. the mpt interface needs this one, and it'll typically be an expander's SAS address. also important:SAS_ADDRis in decimal, but most SAS addresses are shown in hexadecimal. so to give a number in hexadecimal, either prefix it with'0x'or slap a trailing'h'on the end of it. pick your fighter. π₯-v,--verboseβ increases the verbosity of the output. and yes you can use it multiple times, stack that girl up.-V,--versionβ prints the version string and then exits. bye babes π
π CONFORMING TO π
The SMP REPORT ZONE MANAGER PASSWORD function was introduced in SAS-2. ancient history, but we respect her.
π AUTHORS π
Written by Douglas Gilbert. the icon, the legend, the moment.
π REPORTING BUGS π
Found a bug? Report bugs to <dgilbert at interlog dot com>. she wants to know, fr fr.
π COPYRIGHT π
Copyright Β© 2011 Douglas Gilbert
This software is distributed under a FreeBSD license. and listen β there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. so like, use her, love her, but don't come for her if it goes sideways. π
π«Ά SEE ALSO π«Ά
smp_utilssmp_conf_zone_man_passsmp_zone_lock(smp_utils)
and that's the whole page, bestie!! this is smp_utils-0.96, dated May 2011, and you just read the SMP_REP_ZONE_MAN_PASS(8) manual. go get those passwords, slay responsibly, and remember: no cap, no warranty. ππβ¨
π¦ where this page comes from
- debian bookworm: smp-utils 0.99-1 Β· BSD-3-Clause
- debian trixie: smp-utils 0.99-1 Β· BSD-3-Clause
- epel 10: smp_utils 0.99-1.el10_0 Β· BSD-3-Clause
- epel 9: smp_utils 0.99-5.el9 Β· BSD
- fedora 43: smp_utils 0.99-14.fc43 Β· BSD-3-Clause
- fedora 44: smp_utils 0.99-15.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- ubuntu jammy: smp-utils 0.99-1 Β· BSD-3-Clause
- ubuntu noble: smp-utils 0.99-1 Β· BSD-3-Clause
- ubuntu resolute: smp-utils 0.99-1build1 Β· BSD-3-Clause
- ubuntu stonking: smp-utils 0.99-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms