View previous topic :: View next topic |
Author |
Message |
sec0 n00b
Joined: 05 Feb 2004 Posts: 38
|
Posted: Tue Mar 08, 2005 1:59 am Post subject: user account problem - /dev/null permissions - SOLVED |
|
|
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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Tue Mar 08, 2005 4:33 am Post subject: |
|
|
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 |
|
|
sec0 n00b
Joined: 05 Feb 2004 Posts: 38
|
Posted: Tue Mar 08, 2005 1:37 pm Post subject: nope |
|
|
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 |
|
|
sec0 n00b
Joined: 05 Feb 2004 Posts: 38
|
Posted: Thu Mar 10, 2005 12:40 am Post subject: 50-udev.permissions |
|
|
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 |
|
|
sec0 n00b
Joined: 05 Feb 2004 Posts: 38
|
Posted: Thu Mar 10, 2005 1:44 am Post subject: done |
|
|
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 |
|
|
|