LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-09-2008, 03:26 PM   #1
AF_user
LQ Newbie
 
Registered: Oct 2008
Location: Edwrds AFB
Distribution: RHEL v4 WS
Posts: 3

Rep: Reputation: 0
Question Root file ownership problems


I am just feeling my way around Linux (RHEL v4) as we are just converting old simulator from Solaris based to Linux based. I have many Air Force driven concerns....most based on security.

What I have is a NIS sever, which also acts as a file server (the simulator software directory is auto mounted on each machine) supporting about 12 machines.

On each of these machines we need to have a certain set of executables run as root. This has been working fine until recently…now the files do not start and I’ve noticed that when I create a file as root (or sudo)…when looking at the new file it is ownership is something like 4284824674: 4284824674
This only happens on the remote machines and not the server.

The only change I know of since the last time it work successfully was a few edits to /etc/issue and /etc/banner to a consent banenr before logging into a machine.

Have I given you enough info on my problem?

Thanks for your help
-odie
 
Old 10-10-2008, 08:22 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Which filesystem is it? How is it mounted? How are you connecting to the server (local or remote, ssh/telnet/etc)?
Do you have a support contract with Red Hat?

Last edited by Agrouf; 10-10-2008 at 08:24 AM.
 
Old 10-10-2008, 10:14 AM   #3
AF_user
LQ Newbie
 
Registered: Oct 2008
Location: Edwrds AFB
Distribution: RHEL v4 WS
Posts: 3

Original Poster
Rep: Reputation: 0
Red Hat Linux is the o/s, workstation, v4 update 4.


Each machine has the 'working' directory auto mounted through /etc/auto.name


NIS is used for centralized logins.


Get the same problem if I ssh into the machine from antoehr machine or if I log onto it directly.

-odie
 
Old 10-10-2008, 10:29 AM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Thank you, but that does not answer my questions.
By filesystem, I mean ext2, ext3, XFS, reiserfs, or something like that.
the 'mount' command will give you more information about the filesystems.
When I asked how they are mounted, I meant which mount option did you use (see the mount command)
So, you log in to root on the console directly on the machine and you create a file on a local file system and it ends up with a weird user. Is that correct?
 
Old 10-10-2008, 01:08 PM   #5
AF_user
LQ Newbie
 
Registered: Oct 2008
Location: Edwrds AFB
Distribution: RHEL v4 WS
Posts: 3

Original Poster
Rep: Reputation: 0
Ok sorry...and thanks for your patience.


Still not sure if I am finding the info you asked.

using mount -l reveals a type ext3
and shows the automounts.

I am getting warmer?



"So, you log in to root on the console directly on the machine and you create a file on a local file system and it ends up with a weird user. Is that correct?"


Yes that it correct...same is true if I log in as a normal user and use the sudo command.

-odie
 
Old 10-10-2008, 02:08 PM   #6
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
No problem, I'm happy to help if I can.
Please post the output of 'mount' (without argument), tell me where the file is located and post the output of 'id' when logged with the root user.
 
  


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
Partition ownership user or root drudge Linux - General 4 09-22-2007 12:29 PM
apache doc root ownership lt_wentoncha Linux - Software 3 06-30-2006 05:54 PM
I've tried everything - Can't Change Root Ownership of USB HD rrrssssss Linux - Newbie 5 11-24-2005 05:52 AM
root keeps taking ownership of ~/.Xauthority devfreak Fedora 3 04-07-2005 11:24 AM
unable to modify ownership or group as root bubblehead Linux - Newbie 0 11-24-2003 10:15 PM


All times are GMT -5. The time now is 11:03 PM.

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