View previous topic :: View next topic |
Author |
Message |
Just_Chris n00b
Joined: 20 Nov 2003 Posts: 23
|
Posted: Sun Jan 29, 2006 8:37 pm Post subject: /dev/null permission problems + more! [SOLVED] |
|
|
Argh I am having all sorts of permission issues trying to get a user to log in through GDM.
Firstly /dev/null problems, whenever i startup up the PC /dev/null is always set to these permissions
Code: | chris-linux chris # ls -al /dev/null
crw-rw---- 1 root root 1, 3 Jan 20 00:08 /dev/null |
Yes i can change the permissions but they never stay after a reboot! What am I doing wrong?
Secondly my user can't su despite being in the wheel group.
Code: | chris-linux chris # id chris
uid=500(chris) gid=100(users) groups=100(users),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),17(console),18(audio),19(cdrom),27(video),32(gdm),80(cdrw),85(usb),250(portage) |
I simply get an authentication error - again am I missing something simple here?
Code: | chris@chris-linux ~ $ su
Password:
su: Authentication failure
Sorry. |
_________________ Thanks,
Chris
Last edited by Just_Chris on Mon Jan 30, 2006 1:03 pm; edited 1 time in total |
|
Back to top |
|
|
Just_Chris n00b
Joined: 20 Nov 2003 Posts: 23
|
Posted: Sun Jan 29, 2006 11:00 pm Post subject: |
|
|
OK I have made some progress on this by searching on the contents of .xsession-errors
If I chmod /dev/null and /dev/urandom to 666 i can now login, though i still cant actually start any programs (bizarrely)! I've read these problems are related to udev but not can a proper answer yet!
The search contuinues...
[edit] Further progress has been made:
Code: | emerge --unmerge udev
rm -r /etc/udev
emerge udev |
Solved the terminal issues, however still not solved the SU problem!
[/edit]
[edit2]
Solved the SU problem, seems that /bin/su had the wrong permissions. AFAIK it chould be set as follows:
[/edit2] _________________ Thanks,
Chris |
|
Back to top |
|
|
|
|
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
|
|