The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

freebsd kernel

Discussion in 'General Discussion' started by arkain, Dec 12, 2005.

  1. arkain

    arkain Well-Known Member

    Joined:
    Mar 20, 2003
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Hi guys,

    I need some help replacing my old kernel.1 with the current kernel in my freebsd os that I have running along with cPanel. I tried rm -rf kernel, but it would let me because it's a system file... Please help if you could.
     
  2. borki

    borki Member

    Joined:
    Jan 9, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    kernel files are normally protected with the "immutable" flag. you can check this with "ls -lo" if there is an entry like
    -r-xr-xr-x 1 root wheel schg 14276 Nov 3 09:10 kernel
    then the file is protected.

    Normally, a kernel build/install handles this automatically. You can manualle remove the immutable flag with "chflags noschg kernel" where kernel is the kernel file (if the system does not run in a higher securelevel!). Then you can remove it.

    HTH
     
Loading...

Share This Page