LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-18-2006, 02:47 AM   #1
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Rep: Reputation: 30
Angry peculiar problem: can't change inetd.conf file


Hi, i'm using slackware 10.2, this is kind of peculiar to me, the problem is i'm not able to edit the /etc/inetd.conf file even as root, i've checked the permission it has rw access to root, but the vi editor says the file is readonly.
what could be the problem? i just wanted to uncomment the telnet part of the file.
 
Old 08-18-2006, 02:56 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
In the session you're in ... what's the output of
id
and
ls -l /etc/inetd.conf


Cheers,
Tink
 
Old 08-18-2006, 06:45 AM   #3
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Original Poster
Rep: Reputation: 30
thanx for the reply, here's the output of id:

uid=400(sharath) gid=500(sharathg) groups=500(sharathg),11(floppy),17(audio),18(video),19(cdrom)


and ls -l /etc/inetd.conf

-rw------- 1 root root 4606 2006-08-07 00:44 /etc/inetd.conf
 
Old 08-18-2006, 02:13 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 166Reputation: 166
If it's an ext2/ext3 file system, have you tried this:
Code:
chattr -V -i /etc/inetd.conf
 
Old 08-18-2006, 04:01 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Quote:
Originally Posted by sharathg786
thanx for the reply, here's the output of id:

uid=400(sharath) gid=500(sharathg) groups=500(sharathg),11(floppy),17(audio),18(video),19(cdrom)


and ls -l /etc/inetd.conf


-rw------- 1 root root 4606 2006-08-07 00:44 /etc/inetd.conf
That quite clearly states that you're NOT root? Odd enough
that you don't get "permission denied", though.


Cheers,
Tink
 
Old 08-20-2006, 07:15 AM   #6
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Original Poster
Rep: Reputation: 30
Talking

Quote:
Originally Posted by gilead
If it's an ext2/ext3 file system, have you tried this:
Code:
chattr -V -i /etc/inetd.conf

thanx, this helped!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't find inetd.conf file for swat wampire Linux - Networking 1 02-11-2006 11:17 AM
question about uucp service and /etc/inetd.conf file frankie_DJ Linux - Newbie 2 09-03-2005 01:23 AM
change hostname and edit inetd.conf - how to invoke stardotstar Debian 1 02-12-2005 01:59 AM
convert from inetd.conf to xinetd.conf linuxturtle Linux - Networking 7 11-12-2003 04:23 AM
Qpopper on RHL 9 - no /etc/inetd.conf file gbbza Linux - Newbie 1 06-07-2003 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration