Ubuntu server /etc ownership

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I have accidentally changed the owner:group for /etc on my dev server. I would like to reset it back to root:root. Can anyone help me with the required steps.
If I try : chown root:root etc
It refuses by saying ooperation not permitted
permissions root
add a comment |Â
up vote
0
down vote
favorite
I have accidentally changed the owner:group for /etc on my dev server. I would like to reset it back to root:root. Can anyone help me with the required steps.
If I try : chown root:root etc
It refuses by saying ooperation not permitted
permissions root
Did you keep track of the former ownership?
â waltinator
May 14 at 15:17
well, you mean the root
â Nesan Mano
May 14 at 15:21
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have accidentally changed the owner:group for /etc on my dev server. I would like to reset it back to root:root. Can anyone help me with the required steps.
If I try : chown root:root etc
It refuses by saying ooperation not permitted
permissions root
I have accidentally changed the owner:group for /etc on my dev server. I would like to reset it back to root:root. Can anyone help me with the required steps.
If I try : chown root:root etc
It refuses by saying ooperation not permitted
permissions root
asked May 14 at 15:00
Nesan Mano
1012
1012
Did you keep track of the former ownership?
â waltinator
May 14 at 15:17
well, you mean the root
â Nesan Mano
May 14 at 15:21
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
add a comment |Â
Did you keep track of the former ownership?
â waltinator
May 14 at 15:17
well, you mean the root
â Nesan Mano
May 14 at 15:21
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
Did you keep track of the former ownership?
â waltinator
May 14 at 15:17
Did you keep track of the former ownership?
â waltinator
May 14 at 15:17
well, you mean the root
â Nesan Mano
May 14 at 15:21
well, you mean the root
â Nesan Mano
May 14 at 15:21
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
sudo chown root:root /etc
I would not use recursive flag. Not everything in /etc is root:root
Did you change every ownership inside /etc?
yes, I did, it all happened because I was playing around with vsftpd.conf
â Nesan Mano
May 14 at 15:49
Is there a way to reset the root password using the recovery mode
â Nesan Mano
May 14 at 15:54
@NesanMano unix.stackexchange.com/questions/84090/â¦
â RW4
May 14 at 17:15
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
sudo chown root:root /etc
I would not use recursive flag. Not everything in /etc is root:root
Did you change every ownership inside /etc?
yes, I did, it all happened because I was playing around with vsftpd.conf
â Nesan Mano
May 14 at 15:49
Is there a way to reset the root password using the recovery mode
â Nesan Mano
May 14 at 15:54
@NesanMano unix.stackexchange.com/questions/84090/â¦
â RW4
May 14 at 17:15
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
add a comment |Â
up vote
0
down vote
sudo chown root:root /etc
I would not use recursive flag. Not everything in /etc is root:root
Did you change every ownership inside /etc?
yes, I did, it all happened because I was playing around with vsftpd.conf
â Nesan Mano
May 14 at 15:49
Is there a way to reset the root password using the recovery mode
â Nesan Mano
May 14 at 15:54
@NesanMano unix.stackexchange.com/questions/84090/â¦
â RW4
May 14 at 17:15
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
add a comment |Â
up vote
0
down vote
up vote
0
down vote
sudo chown root:root /etc
I would not use recursive flag. Not everything in /etc is root:root
Did you change every ownership inside /etc?
sudo chown root:root /etc
I would not use recursive flag. Not everything in /etc is root:root
Did you change every ownership inside /etc?
answered May 14 at 15:38
RW4
1013
1013
yes, I did, it all happened because I was playing around with vsftpd.conf
â Nesan Mano
May 14 at 15:49
Is there a way to reset the root password using the recovery mode
â Nesan Mano
May 14 at 15:54
@NesanMano unix.stackexchange.com/questions/84090/â¦
â RW4
May 14 at 17:15
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
add a comment |Â
yes, I did, it all happened because I was playing around with vsftpd.conf
â Nesan Mano
May 14 at 15:49
Is there a way to reset the root password using the recovery mode
â Nesan Mano
May 14 at 15:54
@NesanMano unix.stackexchange.com/questions/84090/â¦
â RW4
May 14 at 17:15
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
yes, I did, it all happened because I was playing around with vsftpd.conf
â Nesan Mano
May 14 at 15:49
yes, I did, it all happened because I was playing around with vsftpd.conf
â Nesan Mano
May 14 at 15:49
Is there a way to reset the root password using the recovery mode
â Nesan Mano
May 14 at 15:54
Is there a way to reset the root password using the recovery mode
â Nesan Mano
May 14 at 15:54
@NesanMano unix.stackexchange.com/questions/84090/â¦
â RW4
May 14 at 17:15
@NesanMano unix.stackexchange.com/questions/84090/â¦
â RW4
May 14 at 17:15
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036157%2fubuntu-server-etc-ownership%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Did you keep track of the former ownership?
â waltinator
May 14 at 15:17
well, you mean the root
â Nesan Mano
May 14 at 15:21
Thanks I solved my problem with a rescue boot using the installation USB drive
â Nesan Mano
May 14 at 21:03