Bug 1422497

Summary: userdel unable to remove user with long comment
Product: Red Hat Enterprise Linux 7 Reporter: Karel Volný <kvolny>
Component: shadow-utilsAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: Jaroslav Aster <jaster>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: jaster, jheger
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: shadow-utils-4.1.5.1-25.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1610321 (view as bug list) Environment:
Last Closed: 2018-10-30 08:04:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karel Volný 2017-02-15 12:27:34 UTC
Description of problem:
Trying to remove user with long comment, userdel fails without giving the reason of the failure.

Version-Release number of selected component (if applicable):
shadow-utils-4.1.5.1-24.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. useradd -c '000_001_002_003_004_005_006_007_008_009_010_011_012_013_014_015_016_017_018_019_020_021_022_023_024_025_026_027_028_029_030_031_032_033_034_035_036_037_038_039_040_041_042_043_044_045_046_047_048_049_050_051_052_053_054_055_056_057_058_059_060_061_062_063_064_065_066_067_068_069_070_071_072_073_074_075_076_077_078_079_080_081_082_083_084_085_086_087_088_089_090_091_092_093_094_095_096_097_098_099_100_101_102_103_104_105_106_107_108_109_110_111_112_113_114_115_116_117_118_119_120_121_122_123_124_125_126_127_128_129_130_131_132_133_134_135_136_137_138_139_140_141_142_143_144_145_146_147_148_149_150_151_152_153_154_155_156_157_158_159_160_161_162_163_164_165_166_167_168_169_170_171_172_173_174_175_176_177_178_179_180_181_182_183_184_185_186_187_188_189_190_191_192_193_194_195_196_197_198_199_200_201_202_203_204_205_206_207_208_209_210_211_212_213_214_215_216_217_218_219_220_221_222_223_224_225_226_227_228_229_230_231_232_233_234_235_236_237_238_239_240_241_242_243_244_245_246_247_248_249_250_251_252_253_254_255_256_257' bz1290689-1024
2. userdel -r bz1290689-1024

Actual results:
userdel: cannot remove entry 'bz1290689-1024' from /etc/passwd

Expected results:
(user gets deleted)

Additional info:

Comment 6 errata-xmlrpc 2018-10-30 08:04:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3063