removido
(usa Nenhuma)
Enviado em 18/02/2013 - 20:18h
Qual versão de S.O brother? Em todos esses abaixo ele se tornou
imutável .
# cat /etc/issue
Ubuntu 12.04.2 LTS \n \l
# uname -mrs
Linux 3.2.0-37-generic x86_64
# cd /etc/
# ls -l resolv.conf
lrwxrwxrwx 1 root root 29 Set 18 14:49 resolv.conf -> ../run/resolvconf/resolv.conf
# unlink resolv.conf
# cp -a /run/resolvconf/resolv.conf .
# chattr +i resolv.conf
# cat resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 8.8.8.8
nameserver 8.8.4.4
# rm -rf resolv.conf
rm: não foi possível remover “resolv.conf”: Operação não permitida
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# cat /etc/issue
Welcome to openSUSE 12.2 "Mantis" - Kernel \r (\l).
# uname -mrs
Linux 3.4.11-2.16-default i686
# cd /etc/
# ls -lh resolv.conf
-rw-r--r-- 1 root root 833 Fev 18 20:01 resolv.conf
# chattr +i resolv.conf
# cat resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST
# NETCONFIG_DNS_STATIC_SERVERS
# NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
# NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
nameserver 8.8.8.8
nameserver 8.8.4.4
# rm -rf resolv.conf
rm: não foi possível remover "resolv.conf": Operação não permitida
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# cat /etc/issue
Debian GNU/Linux 6.0 \n \l
# uname -mrs
Linux 2.6.32-5-686 i686
# cd /etc/
# ls -lh resolv.conf
-rw-r--r-- 1 root root 46 Fev 18 19:59 resolv.conf
# chattr +i resolv.conf
# cat resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
# rm -rf resolv.conf
rm: não foi possível remover "resolv.conf": Operação não permitida
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.3 (Santiago)
# uname -mrs
Linux 2.6.32-279.el6.x86_64 x86_64
# cd /etc/
# ls -l resolv.conf
-rw-r--r-- 1 root root 103 Fev 7 15:29 resolv.conf
# chattr +i resolv.conf
# cat resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 8.8.4.4
# rm -rf resolv.conf
rm: não foi possível remover "resolv.conf": Operação não permitida
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Abraço!