Page MenuHomeFreeBSD

Add double quotes to rmuser.sh and replace backticks with $()
Needs ReviewPublic

Authored by bcr on Jun 24 2023, 7:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 30 2024, 6:34 AM
Unknown Object (File)
Oct 7 2024, 2:34 PM
Unknown Object (File)
Oct 5 2024, 11:50 AM
Unknown Object (File)
Oct 5 2024, 1:48 AM
Unknown Object (File)
Oct 4 2024, 6:45 AM
Unknown Object (File)
Oct 3 2024, 1:04 PM
Unknown Object (File)
Oct 3 2024, 11:29 AM
Unknown Object (File)
Oct 3 2024, 7:53 AM
Subscribers

Details

Reviewers
None
Group Reviewers
Src Committers
Summary

This patch does the following:

  • add quotes around variables to prevent word splitting and globbing
  • replace backticks with $()
Test Plan
  1. Create a user test using pw or adduser
  2. Use rmuser passing test as a parameter

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped