iSCSI initiator does not discover iSCSI target when TCP/IP is working
This document (7018427) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 11 Service Pack 4 (SLES 11 SP4)
Situation
Resolution
hostname:~ # whoamiIf this command returns with any username other than root, move this other UID 0 user below the root user line in /etc/passwd .
This user may also be assigned a different UID or deleted altogether, depending on the environment.
Any lines with a UID of 0 in /etc/passwd can be printed with this awk script:
hostname:~ # awk -F: '$3 ~ /^0$/' /etc/passwd
Cause
Additional Information
To modify the UID of an example user, tim, to a UID of 2345, use this command:
hostname:~ # usermod -u 2345 timTo delete this user, instead, run this command:
hostname:~ # deluser tim
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7018427
- Creation Date: 29-Dec-2016
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com