 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

12th February 2007, 11:02 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183

|
|
|
$HOME/.dmrc file
The last couple of days, when I start up, a good ways into the "boot' session, the following message comes up:
"Users $HOME/.dmrc file is being ignored. This prevents the default session and language from being saved. File should be owned by user and have 644 permissions. Users $HOME directory must be owned by user and not writable by other users."
It then waits for an "OK" before continuing.
I sure don't remember touching anything that should affect that, so have no idea what the problem is nor how to correct it.
So I turn to you folk again.
Thanks.
|

12th February 2007, 05:15 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
|
Hello:
This error is a result of the permissions/ownership being changed on the /home and or /home/username
directories.
If you are careful and follow the instructions as output from the error message you should be able to correct this.
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

12th February 2007, 07:18 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183

|
|
|
Hello again Seve:
Well, if that error message also gives the instructions as to how to correct it, I am afraid that I am lost. I have never run into the matter of permissions before, so don't know how to change them. It is fairly obvious in Windows, but here I am wandering in a different jungle!
José
|

12th February 2007, 07:23 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
try adding a new user and see if it has the same issue
su -
adduser test
logout and into the new account
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
|

12th February 2007, 07:38 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183

|
|
|
Good afternoon Leigh!
Well, I tried it, but my version says that there is no such command as "adduser".
José
|

12th February 2007, 07:53 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
Quote:
|
Originally Posted by chejose
Hello again Seve:
Well, if that error message also gives the instructions as to how to correct it, I am afraid that I am lost. I have never run into the matter of permissions before, so don't know how to change them. It is fairly obvious in Windows, but here I am wandering in a different jungle!
José
|
Hello:
If you right click on the /home folder and select Properties / Permissions it will display the current status:
The /home directory should be as follows
Owner -- Root
Folder Access -- Create and delete
Group --- Root
Folder Access -- Access files
Others
Folder Access -- Access files
If you right click on the /home/username folder and select Properties / Permissions it will display the current status:
The /home/username should be as follows:
Owner -- username
Folder Access -- Create and delete
File Access --- ----
Group --- username
Folder Access -- None
File Access --- ----
Others
Folder Access -- None
File Access --- ----
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

12th February 2007, 10:21 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183

|
|
|
Seve - finally back to it after 27 updates and a slow-afternoon connection.
I did what you suggested (and learned something). The "Group" and "Others" were both set to Create and delete. So I put them to "None".
Reboot, but the message still comes up.
José
|

12th February 2007, 10:25 PM
|
 |
Registered User
|
|
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862

|
|
You can type this in a terminal and the result should be
Code:
-rw------- 1 mark users 22 Feb 2 16:46 /home/mark/.dmrc
(your username will vary  ).
the -rw------- means that only you can read or write this file. If it says anything else, I'm sure Seve or Leigh will tell you how to correct it.
As for adduser test, you must first su - (su means superuser or root and the - means with root environment). You will be prompted for a password. enter root password then try adduser test again.
__________________
Mark N.
Perpetual Newbie
--
I wanted to proclaim myself "The Typo King" but there's way too much competion. :p
411874 Get Counted
|

12th February 2007, 10:35 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183

|
|
|
Ouch... this is getting thick.
OK, I did the command "adduser" as root, but it still says there is no such command.
As for the other, here are the results:
[root@localhost jose]# ls -1 ~/.dmrc
ls: /root/.dmrc: No such file or directory
[root@localhost jose]# adduser test
bash: adduser: command not found
It makes me feel kind of stupid when nothing works... though I am learning that way bit by very little bit.
José
|

12th February 2007, 10:38 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
first command not as root
ls -l ~/.dmrc
try this to add new user
su -
useradd test
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
|

12th February 2007, 10:40 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
|
Hello Jose:
Just open a terminal as user and not as root. and copy and paste what u-noneinc-s provided to you.
Then post the output
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

12th February 2007, 10:53 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183

|
|
|
OK... first this one:
[jose@localhost ~]$ ls -l ~/.dmrc
-rw-rw-rw- 1 jose jose 26 Jan 1 09:48 /home/jose/.dmrc
As for the other, it looks like Fedora just doesn't want any new users:
[root@localhost jose]# useradd test
bash: useradd: command not found
José
|

12th February 2007, 11:06 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
|
Hello Jose:
First open a terminal and type
chmod 600 /home/jose/.dmrc
then post the output of
ls -l ~/.dmrc
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

12th February 2007, 11:14 PM
|
|
Guest
|
|
Posts: n/a

|
|
Quote:
|
Originally Posted by chejose
OK... first this one:
[jose@localhost ~]$ ls -l ~/.dmrc
-rw-rw-rw- 1 jose jose 26 Jan 1 09:48 /home/jose/.dmrc
As for the other, it looks like Fedora just doesn't want any new users:
[root@localhost jose]# useradd test
bash: useradd: command not found
José
|
That's because you didn't follow Leigh's instructions. Look carefully:
su -
That is su space dash
If you don't use the dash you will have to use the full path to the command, which is:
/usr/sbin/adduser
Wayne
|

12th February 2007, 11:41 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183

|
|
|
OK, keep learning. I had no idea that a dash after su meant anything.
Anyway, here is the output from what Seve mentioned:
[jose@localhost ~]$ chmod 600 /home/jose/.dmrc
[jose@localhost ~]$ ls -l ~/.dmrc
-rw------- 1 jose jose 26 Jan 1 09:48 /home/jose/.dmrc
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 16:38 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|