LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-28-2006, 01:27 PM   #1
sachin0178
LQ Newbie
 
Registered: Sep 2005
Location: India
Distribution: RH9, Fedora, RHEL
Posts: 16

Rep: Reputation: 0
owner changes!!!!


Hi,

When i login as user, the owner of the /dev/fd0 changes automatically from root to the user. Can anybody pls tell why is it doing like this??

Here is whats happening:

When i login as root, then ll /dev/fd0 shows:

brw-rw---- 1 root floppy 2, 0 Sep 15 2003 /dev/fd0

Then if i login as user(sachin), on another terminal, then ll /dev/fd0 shows:

brw-rw---- 1 sachin floppy 2, 0 Sep 15 2003 /dev/fd0


Regds,
Sachin
 
Old 01-28-2006, 01:49 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Probably based on info in your /etc/fstab file defines it.

Brian1
 
Old 01-28-2006, 02:01 PM   #3
sachin0178
LQ Newbie
 
Registered: Sep 2005
Location: India
Distribution: RH9, Fedora, RHEL
Posts: 16

Original Poster
Rep: Reputation: 0
Tnx for replying Brian, but what in fstab is causing it to change and how to stop it?? My /etc/fstab looks like:

/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0


Regds,
Sachin
 
Old 01-28-2006, 02:23 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
You have several Redhat based systems listed for your distros (RH9, Fedora, RHEL). These all use PAM and according to http://www.redhat.com/docs/manuals/e...m-console.html, PAM can change ownership of some devices at login time. It may be that your PAM setup is configured to do this...
 
Old 01-28-2006, 02:46 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
never thought it could be an issue but try removing the owner an or kudzu. Not sure if either will make a difference. If you stop the service kudzu it might do it as well ' service kudzu stop '. I agree with Steve and look at Pam as well.
 
  


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
login as owner?!?!?!? bobbit Linux - Newbie 7 11-15-2004 04:02 AM
how to see the daemon owner? noir911 *BSD 2 08-24-2004 12:57 PM
Owner KennieNL Linux - Newbie 2 07-16-2004 03:20 AM
Change owner arubin Linux - Newbie 3 04-30-2004 12:23 PM
Getting the owner name of a file in C akin81 Programming 5 04-02-2004 03:36 PM


All times are GMT -5. The time now is 02:38 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