Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: login as root - bye sudo

  1. #11
    Junior Member
    Join Date
    Apr 2004
    Location
    Scotland
    Posts
    5
    I have tried all the help here but i still cant delete a file or folder, the reason I really need the help is my windows box got hacked and i have a folder which i cannot delete. I have been told that if i boot with knoppix correctly i can delete a folder from an ntfs partition. the actual folder i have is 4gb in size and i desperately want to be rid of it can any one help me here,

    knopix says im logged on as root and i have remounted the hda for read write but still the folder wont delete.


    many thans for any hlep


    carolann

  2. #12
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    hmm ntfs knoppix doesnt suport that 100% .
    you might harm your filesystem if you delete that file from knoppix. but if you are desperate...
    Code:
    mount -o remount,rw /mnt/hdXY
    where X is drive letter and Y is number.
    then use konqueror and go to the folder, right klick soewhere and choose open konsole on the menu that pops up. in thet write
    Code:
    sudo su rm -rf ./*
    that SHOULDremove things. if not...
    ask and i wil try again.

  3. #13
    Junior Member
    Join Date
    Apr 2004
    Location
    Scotland
    Posts
    5
    Thanxs for this but it still wont let me access the drive to delete a folder, when i right click on the drive and try to change the read write mode it says knoppix wont allow it , then I tried to remount it and it looked as if it was done but it still would not allow me to delete files or folders,

    im logging in like

    knoppix single then
    startx

    which says im root but im not sure I really am, im very new to knoppix how do i change from hda1 to 2 in the root shell.

    I am desperate to get rid of that 4gb folder on my server

    many thanks

    ca

  4. #14
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    You would need the captive-ntfs driver to do this reliably, or do it thru a network, assuming you share just the folder in question that you're trying to delete. You could have deleted the folder directly in windows by opening a command prompt and then type deltree c:\badfolder /y and that folder is history.

  5. #15
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    by the way are you root?
    if you are root ou should be able to do ANYTHING even kill a hdd's prom

  6. #16
    Junior Member
    Join Date
    Apr 2004
    Location
    Scotland
    Posts
    5
    Im logging on as root but it wont let me change the read write status on the drive where in shell or right click hda2. I cant delete the folder using windows because it does not allow because of the reserved file names I have tried using posix comands and everything else i could think of or try but have been told by windows administrators that doing it through unix base os is the only way to delete this folder without doing a reinstall of server.

    when i boot with the knoppix disk and login as root it says i have read write access but try to delete even a file and its says access denied.

    hmm any other suggestions please

    Many thanks ca

  7. #17
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    You could try http://www.knoppix-std.org/ which has captive ntfs and would let you delete stuff on ntfs partitions.
    BTW, couldn't you delete it with just booting from a win98 or dos bootfloppy?

  8. #18
    Junior Member
    Join Date
    Apr 2004
    Location
    Scotland
    Posts
    5
    You cant access ntfs fil system using dos or win98 boot disks, I have downloaded knoppix standard but is different from the other knoppix no nice desktop for a newbie like me to navigate. where can i find out how to use knoppix standard to gain my result of deleting a folder on my server i kept trying to mount the volume from the aterm terminal and it looked as if it worked but when i tried to view its access deniec.

    I think i may be stuck with that 4gb folder on my systme part of my win2k server if

    many thanks for all your help

  9. #19
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    hmmm, if you could format the partition it would go away? hmmm, have you tried shrinking it MAX making a new fat32 partition in the free space and copying things over to that, then remove the cppied files shrink the ntfspartition, maximize the fat32one.- ... --- .- ... ---
    if you did that is MIGHT work to finaly removing partition and recreating it and reverse the process.
    i think it should work, okok, it would take a LOT of time, and be a possible risk, yes... but it should work.
    hmmmm, come to think of it have you tried the captive ntfs? search foryum for it. might work.

  10. #20
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Why not throw in another empty hd, format it fat32, copy over the lot, delete folder, reformat the original hd fat32, copy everything back and use windows to make it ntfs again. Or just switch over the new fat32 hd to master after deleting the folder, boot windows (might need repair from windows cd) and make it ntfs.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Cannot login other than root, pls help
    By bsjawle in forum Hdd Install / Debian / Apt
    Replies: 15
    Last Post: 04-09-2005, 05:02 AM
  2. Login as ROOT
    By ackelley in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 01-12-2005, 11:52 PM
  3. Root login
    By Dark19 in forum General Support
    Replies: 1
    Last Post: 10-15-2003, 03:41 AM
  4. login as root? how?
    By Mogiin in forum General Support
    Replies: 7
    Last Post: 10-13-2003, 11:02 AM
  5. Login as root
    By 1st_time in forum General Support
    Replies: 4
    Last Post: 07-17-2003, 04:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1625.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Microsoft Windows Server 2025 Datacenter 64Bit 24 Core 50 cal Freeshipping picture

Microsoft Windows Server 2025 Datacenter 64Bit 24 Core 50 cal Freeshipping

$54.99



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack) picture

VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack)

$1599.95



Win Server Datacenter 2025 64-Bit DVD 24 Core 50 DAL Brand New +  picture

Win Server Datacenter 2025 64-Bit DVD 24 Core 50 DAL Brand New +

$55.99