Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
user account problem - /dev/null permissions - SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sec0
n00b
n00b


Joined: 05 Feb 2004
Posts: 38

PostPosted: Tue Mar 08, 2005 1:59 am    Post subject: user account problem - /dev/null permissions - SOLVED Reply with quote

hello i've added a new user to my box and when i login i get a /dev/null permission denied error, i've added the user as i was instructed in the gentoo handbook, and i've tried different ways as well, yet none of them seemed to work. i don't know what to do. well i do know that if i chmod 666 /dev/null as root and then login as user i get no errors whatsoever, but i don't see this as being a solution ;) thanks :)
_________________
"you never know it, and if you know it, you never believe it"


Last edited by sec0 on Thu Mar 10, 2005 1:43 am; edited 1 time in total
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Tue Mar 08, 2005 4:33 am    Post subject: Reply with quote

If you specified /dev/null as the home directory for that user - don't do that. It's wrong.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
sec0
n00b
n00b


Joined: 05 Feb 2004
Posts: 38

PostPosted: Tue Mar 08, 2005 1:37 pm    Post subject: nope Reply with quote

i specified the home user for that user as /home/user. i've installed gentoo on another machine and i'm getting the same problem. i did
Code:
useradd -user-  -m -G users,wheel,audio,tty,cdrom,games -s /bin/bash

i think this is the correct syntax.
_________________
"you never know it, and if you know it, you never believe it"
Back to top
View user's profile Send private message
sec0
n00b
n00b


Joined: 05 Feb 2004
Posts: 38

PostPosted: Thu Mar 10, 2005 12:40 am    Post subject: 50-udev.permissions Reply with quote

ok i found the file
Code:
/etc/udev/permissions.d/50-udev.permission

and from what i can understand, it is not setting the permissions i specify in that file. i have also tried to
Code:
mv /etc/security/console.perms /etc/security/console.perms.bak
(actually that's how it is at the moment) and it had no effect whatsoever.
in addition to this i tried unmerging hotplug so hotplug wouldn't be my management agent (suggested in this thread:

https://forums.gentoo.org/viewtopic.php?t=245332) and the problem persisted.

under all the above conditions, udevstart seems to do nothing :S
_________________
"you never know it, and if you know it, you never believe it"
Back to top
View user's profile Send private message
sec0
n00b
n00b


Joined: 05 Feb 2004
Posts: 38

PostPosted: Thu Mar 10, 2005 1:44 am    Post subject: done Reply with quote

Code:

emerge --unmerge udev
rm -r /etc/udev
emerge udev

it did the trick
_________________
"you never know it, and if you know it, you never believe it"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum