Hirdetés

Új hozzászólás Aktív témák

  • Jester01

    veterán

    válasz Siriusb #11451 üzenetére

    Felhasználót a deluser illetve userdel parancsok valamelyikével szokás törölni, ez rendesen eltávolítja az összes releváns bejegyzést:

    # adduser proba
    Adding user `proba' ...
    Adding new group `proba' (1002) ...
    Adding new user `proba' (1002) with group `proba' ...
    Creating home directory `/home/proba' ...
    Copying files from `/etc/skel' ...
    Enter new UNIX password:
    Retype new UNIX password:
    passwd: password updated successfully
    Changing the user information for proba
    Enter the new value, or press ENTER for the default
    Full Name []:
    Room Number []:
    Work Phone []:
    Home Phone []:
    Other []:
    Is the information correct? [Y/n] y
    # deluser --remove-home proba
    Looking for files to backup/remove ...
    Removing files ...
    Removing user `proba' ...
    Warning: group `proba' has no more members.
    Done.
    # adduser proba
    Adding user `proba' ...
    Adding new group `proba' (1002) ...
    Adding new user `proba' (1002) with group `proba' ...
    Creating home directory `/home/proba' ...
    Copying files from `/etc/skel' ...
    Enter new UNIX password:
    Retype new UNIX password:
    passwd: password updated successfully
    Changing the user information for proba
    Enter the new value, or press ENTER for the default
    Full Name []:
    Room Number []:
    Work Phone []:
    Home Phone []:
    Other []:
    Is the information correct? [Y/n] y
    # deluser --remove-home proba
    Looking for files to backup/remove ...
    Removing files ...
    Removing user `proba' ...
    Warning: group `proba' has no more members.
    Done.

Új hozzászólás Aktív témák