Linuxadmin Passwort?

Hallo zusammen,

bei mir geht das Passwort für den linuxadmin nicht. In der

/etc/linuxmuster/client-servertools.conf auf dem server steht:

CONF_LINUXADMIN_PW=„muster2016“

aber es geht nicht. Mache ich was falsch?

LG Tania

Hallo Tanja,

Gibst Du das Passwort ohne “” ein?

Wenn das nicht geht, dann musst Du nach einem Postsync-Skript suchen. Mit dem Skript kannst Du das Passwort setzen.

Ich schau mal ob ich es auf die Schnelle finde.

Gruß Alois

Hast Du Mal als Passwort linuxadmin oder linuxmuster probiert?

Ansonsten sollte diese Seite helfen:

Gruß Alois

Hallo Alois,

das mit dem Passwort für den linuxadmin klappt immer noch nicht. Für mein cloop “cora01” ist die patchclass angelegt, ich habe mit
/usr/sbin/linuxmuster-client -a set-postsync-pass -l geheim -p cora01. versucht das Passwort zu ändern.

Danach
import-workstations
bei einem Client habe ich sogar komplett neu partitioniert, formatiert und initcache durchgeführt, aber das Passwort für linuxadmin geht einfach nicht.

Auf dem Server befindet sich jetzt
/var/linbo/linuxmuster-client/cora01/common/passwords. Ist das jetzt mein Passwort für linuxadmin?

LG Tania.

Hallo Tanja,

hast Du das Xenial-Cloop von mir?

Gruß Alois

Hallo Alois,

das ist eine Kopie, vom xenial-qgm.cloop. Soll ich lieber das xenial916 nehmen?

LG Tania

Hallo Tania,

das ist eine Kopie, vom xenial-qgm.cloop. Soll ich lieber das xenial916
nehmen?

das dürfte nicht wichtig sein: wichtiger ist der postsync.
Bitte poste mal die Datei

cora01.cloop.postsync

LG

Holger

Hallo Holger,

hier die cora01.cloop.postsync:

  GNU nano 2.2.6                                   Datei: /var/linbo/cora01.cloop.postsync                                                                              

echo " - getting patchfiles" | tee -a $LOG

# RAUM     -> Raumname
# HOSTNAME -> Rechnername
# Verzeichnis anlegen, damit es sicher existiert
mkdir -p /cache/${PATCHCACHE}
rsync --delete --progress -r "${SERVERIP}::linbo/linuxmuster-client/${PATCHCLASS}" "/cache/${PATCHCACHE}" | tee -a $LOG

echo " - patching local files"  | tee -a $LOG

# common: Bekommen alle clients der Patchklasse
# files
if [ -d /cache/${PATCHCACHE}/${PATCHCLASS}/common ]; then
    echo "   - patching common to /mnt" | tee -a $LOG
    cp -ar /cache/${PATCHCACHE}/${PATCHCLASS}/common/* /mnt/ | tee -a $LOG
fi

# tarpacks
if [ -d /cache/${PATCHCACHE}/${PATCHCLASS}/common/tarpacks ]; then
  echo "   - unpacking tarpacks from common/tarpacks to /mnt" | tee -a $LOG
  for pack in /cache/${PATCHCACHE}/${PATCHCLASS}/common/tarpacks/*; do
     echo "     - unpacking: $pack" | tee -a $LOG
     tar xvzf $pack -C /mnt | tee -a $LOG
  done
fi

# Raum: Nur die Clients des Raums
# files
if [ -d /cache/${PATCHCACHE}/${PATCHCLASS}/${RAUM} ]; then
    echo "   - patching ${RAUM} to /mnt" | tee -a $LOG
    cp -ar /cache/${PATCHCACHE}/${PATCHCLASS}/${RAUM}/* /mnt/ | tee -a $LOG
fi

# tarpacks
if [ -d /cache/${PATCHCACHE}/${PATCHCLASS}/${RAUM}/tarpacks ]; then
  echo "   - unpacking tarpacks from ${RAUM}/tarpacks to /mnt" | tee -a $LOG
  for pack in /cache/${PATCHCACHE}/${PATCHCLASS}/${RAUM}/tarpacks/*; do
     echo "     - unpacking: $pack" | tee -a $LOG
     tar xvzf $pack -C /mnt | tee -a $LOG
  done
fi

# Host: Nur der Rechner
# files
if [ -d /cache/${PATCHCACHE}/${PATCHCLASS}/${HOSTNAME} ]; then
    echo "   - patching ${HOSTNAME} to /mnt"  | tee -a $LOG
    cp -ar /cache/${PATCHCACHE}/${PATCHCLASS}/${HOSTNAME}/* /mnt/ | tee -a $LOG
fi

# tarpacks
if [ -d /cache/${PATCHCACHE}/${PATCHCLASS}/${HOSTNAME}/tarpacks ]; then
  echo "   - unpacking tarpacks from ${HOSTNAME}/tarpacks to /mnt" | tee -a $LOG
  for pack in /cache/${PATCHCACHE}/${PATCHCLASS}/${HOSTNAME}/tarpacks/*; do
     echo "     - unpacking: $pack" | tee -a $LOG
     tar xvzf $pack -C /mnt | tee -a $LOG
  done
fi
er sync hinterlegen
echo $NOW > /mnt/lastsync

echo "##### POSTSYNC END #####" | tee -a $LOG
# Hook, um eigene Skripte auszuführen
if [ -d /mnt/postsync.d ]; then
    for SCRIPT in /mnt/postsync.d/*
    do
        chmod 755 $SCRIPT
        echo "Executing: $SCRIPT" | tee -a $LOG
        #$SCRIPT > /dev/null 2>&1
        $SCRIPT | tee -a $LOG
        echo " ...done." | tee -a $LOG
    done
    rm -rf /mnt/postsync.d
fi

# wenn es /mnt/tarpacks gibt - löschen
rm -rf /mnt/tarpacks

# Zeitstempel letzt

PS: Ich komme im Übrigen mit `“root” PW: “linuxmuster” rein

LG Tania

Hallo Tania,

Dann setz mit passwd linuxadmin ein Passwort Deiner Wahl und das Problem ist gelöst.

Gruß Alois

Ja das werde ich jetzt tun,

so hat sich das Problem mit Hilfe von root gelöst.

Vielen Dank Holger und Alois!:+1::grinning:

Hallo Tania,

die Rechtschreibkorrektur hatte mal wieder zugeschlagen. Es soll natürlich “passwd” statt passend lauten.

Bitte setz den Beitrag auf gelöst.

Gruß

Alois

Hallo,

kann das ein Problem sein, wenn das Passwort vom linuxadmin bekannt ist?
Ins Internet kann er ja nicht so einfach …

Viele Grüße

Wilfried