Results 1 to 10 of 36
Ok now this is just killing me.... i just got Gentoo installed....and it is the greatest, however i cannot go su root from a user(the groups that this user has ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-29-2004 #1
I can't go su root !!
Ok now this is just killing me.... i just got Gentoo installed....and it is the greatest, however i cannot go su root from a user(the groups that this user has are: users,wheel,audio(wheel being the group to go su))... if i want root i have to log out and log in as root.
This is true in kde,console(ctrl + alt + F2),konsole and xterm...and everywhere else..........what am i missing?
~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org
- 02-29-2004 #2Code:
usermod -G users,wheel <username> Issue this as root.
- 02-29-2004 #3zdawg
Originally Posted by zdawg
BEEN there done that ! more than once.~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org
- 02-29-2004 #4
Im not sure then all you have to do normally is add yourself to the wheel group and you should be able to su -
- 02-29-2004 #5
I think i might of found it ... i think the permissions on the link file' ttyS0' are totaly borked or rather the ownership
user: taz ........taz is a user i think it should be: root
group: tty ...............i think this should be: wheel
dose anyone know for shure?~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org
- 02-29-2004 #6Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
The tty perms should be: owner/group = username/tty if a user is logged in at that tty, root/root otherwise, perms = 620 if a user is logged in at that tty, 600 otherwise.
As for the su issue, what does su actually say? What do the logs say?
- 02-29-2004 #7Code:
tail -f /var/log/messages
Issue as root. Then su -
Let's see the output.
- 03-01-2004 #8
here's /var/log/messages
- Feb 29 19:43:06 loft306 unix_chkpwd[2357]: check pass; user unknown
Feb 29 19:43:06 loft306 su(pam_unix)[2356]: authentication failure; logname= uid=1000 euid=1000 tty=pts/0 ruser=taz rhost= user=root
Feb 29 19:43:09 loft306 su[2356]: pam_authenticate: Authentication failure
Feb 29 19:43:15 loft306 via_audio: ignoring drain playback error -11
Feb 29 19:43:15 loft306 kde(pam_unix)[2204]: session closed for user taz
Feb 29 19:43:18 loft306 kdm_greet[2439]: Can't open default user face
Feb 29 19:43:32 loft306 kde(pam_unix)[2437]: session opened for user root by (uid=0)
Feb
and the ttyS0 thing was something going on that i confused for this prob.~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org
- Feb 29 19:43:06 loft306 unix_chkpwd[2357]: check pass; user unknown
- 03-01-2004 #9Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Was that really all the info that su generated? Check /var/log/auth as well, please. Also, is the setuid bit set in /bin/su (check `ls -l /bin/su')?
- 03-01-2004 #10
Dolda i dont have a log /var/log/auth, is it possible to make one?
this is how it is now:
-rwsr-xr-x 1 root root 24376 Nov 28 11:20 /bin/su
this is how it used to be befor scientica cought it:
-rwsr-sr-x 1 root root 24376 Nov 28 11:20 /bin/su~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org


Reply With Quote
