Jump to content

[SOLVED] delete a user?


chuga

Recommended Posts

Posted

Hi,

 

I am having trouble deleting a user "chuga" that I created.  Running 5.0 b14.

 

When I check "delete" and click "apply" nothing happens...the user is still there in the users tab of the webgui.

 

 

thanks,

Posted

Dec 28 11:18:13 Tower emhttp: shcmd (105): smbpasswd -x chuga

Dec 28 11:18:13 Tower emhttp: shcmd (106): userdel chuga

Dec 28 11:18:13 Tower emhttp: _shcmd: shcmd (106): exit status: 8

Dec 28 11:18:13 Tower emhttp: shcmd (107): cp /etc/passwd /etc/shadow /etc/samba/private/smbpasswd /boot/config

Dec 28 11:18:28 Tower emhttp: shcmd (108): smbpasswd -x chuga

Dec 28 11:18:28 Tower emhttp: _shcmd: shcmd (108): exit status: 1

Dec 28 11:18:28 Tower emhttp: shcmd (109): userdel chuga

Dec 28 11:18:28 Tower emhttp: _shcmd: shcmd (109): exit status: 8

Dec 28 11:18:28 Tower emhttp: shcmd (110): cp /etc/passwd /etc/shadow /etc/samba/private/smbpasswd /boot/config

Dec 28 11:18:49 Tower emhttp: shcmd (111): smbpasswd -x chuga

Dec 28 11:18:49 Tower emhttp: _shcmd: shcmd (111): exit status: 1

Dec 28 11:18:49 Tower emhttp: shcmd (112): userdel chuga

Dec 28 11:18:49 Tower emhttp: _shcmd: shcmd (112): exit status: 8

Dec 28 11:18:49 Tower emhttp: shcmd (113): cp /etc/passwd /etc/shadow /etc/samba/private/smbpasswd /boot/config

Dec 28 11:19:35 Tower emhttp: shcmd (114): usermod -c '' chuga

Dec 28 11:19:35 Tower emhttp: shcmd (115): cp /etc/passwd /etc/shadow /etc/samba/private/smbpasswd /boot/config

Dec 28 11:19:41 Tower emhttp: shcmd (116): chpasswd <<< chuga:"*****"

Dec 28 11:19:41 Tower emhttp: shcmd (117): smbpasswd -L -s -a chuga <<< "*****"$'\n'"*****"

Posted

Ran checkdisk...no issues with the usb drive.

 

Booted up unraid again, "chuga" user still there :(

 

This is like using a slegdehammer but when all else fails...btw this is from the beta readme. I've used it to remove all users. Also no need to delete just rename to .old and reboot. It allows a recovery if needed. I think it even resets the pass to deafault for the root account.

 

If present, delete these files from the flash (sorry, you will have to re-enter all your users after booting this release):

    config/passwd
    config/shadow
    config/smbpasswd

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...