SU(1)
π
SU(1) β the su page, but make it cute
okay bestie, welcome to the General Commands Manual entry for su, aka the glow-up your terminal identity has been waiting for π
β¨ NAME β¨
su β substitute user identity
like, literally swap who you are. main character energy transfer. no cap.
π¦ SYNOPSIS π¦
su [-K | --no-kerberos] [-f] [-l | --full] [-m] [-i instance |
--instance=instance] [-c command | --command=command] [login [shell
arguments]]
she's giving "many flags, one girl." look at her. iconic.
πΈ DESCRIPTION πΈ
so here's the tea β β su will use Kerberos authentication, provided that an instance for the user who wants to change their effective UID is present in a file named .k5login in the target user id's home directory. that's the whole vibe check: no .k5login entry, no Kerberos moment. π
there's a β¨special caseβ¨ tho, and it's important so pay attention bestie: βroot'sβ ~/.k5login needs to contain an entry for:
βuser/β¨instanceβ©@REALMβ
for su to succeed (where β¨instanceβ© is root unless you changed it with -i). yes queen, -i is the mood-setter here. π
now for the messy part π β if there's either no entry for the current user in said file, or other problems happen (like missing host/hostname@REALM keys in the system's keytab, or the user just typing the wrong password), then su will fall back to traditional /etc/passwd authentication. it's giving backup plan. it's giving "we tried, we really did."
and when it's running on /etc/passwd authentication? su allows βrootβ access only to members of the group wheel β OR to any user (as long as they know the βrootβ password) if that group does not exist, or has no members. that's the rule, periodt. π«Ά
the options are as follows:
π OPTIONS π
-K,--no-kerberosβ don't use Kerberos. justβ¦ don't. skip it entirely. π-fβ don't read.cshrc. we're leaving that file on read, bestie. π-l,--fullβ simulate full login. the whole cinematic experience, not just a cameo. β¨-mβ leave environment unmodified. touch nothing, change nothing, chaotic-neutral behavior. π§- *
-i*instance,--instance=instance β root instance to use. this is the one that matters for that special case up there. π - *
-c*command,--command=command β command to execute. tell her what to do and she'll do it. β
π SEE ALSO π
ngl, there isn't a SEE ALSO section on this one β she's a standalone queen, she doesn't need to name-drop other pages. π
β οΈ lowkey a heads-up: the Kerberos-to-/etc/passwdfallback and thewheel-group-only root access are real security behavior, not vibes. don't sleep on them. π
and that's the whole page, bestie!! this one came from HEIMDAL, dated January 12, 2006 β yeah she's vintage, she's an elder icon, and she still ate. mwah ππ
π¦ where this page comes from
- epel 10: heimdal-workstation 7.8.0-26.el10_2 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- epel 9: heimdal-workstation 7.8.0-5.el9 Β· BSD and MIT
- fedora 43: heimdal-workstation 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-workstation 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-workstation 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- Copyright (c) 2003 - 2006 Kungliga Tekniska HΓΆgskolan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms