You are not logged in.
Pages: 1
Hello,
I have a new clean install of Arch.
I have 2 users root and roelof
When im root and im doing su everything is working right.
But when im roelof and im doing su i always get a password incorrect.
How to solve this wierd problem.
Roelof
Last edited by roelof (2009-08-09 12:01:27)
Offline
Do you enter the correct root password? roelof's password and root's password may not be the same.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
yep, I'm shure I entered the right password.
Roelof
Offline
Ok, is a roelof member of the wheel group?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
open /etc/group file and add to line
wheel::10:root
your user name
it should be somthing like that
wheel::10:root,roelof
Offline
Hoi,
Roelof is not member of the wheel group, only member of the user group
Roelof
Offline
use gpasswd to add it, don't edit /etc/group by hand
e.g.. gpasswd -a roelof wheel
and if you are not using gnome etc.
usermod -G ...
Last edited by loafer (2009-08-08 19:47:06)
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
use gpasswd to add it, don't edit /etc/group by hand
e.g.. gpasswd -a roelof wheel
Why not edit /etc/group by hand? I always do nano /etc/group and put my user in to groups I want.
I do not speak English, but I understand...
Offline
Hi Pyntux, you can do that no problem. Just that using the tools traps any typos.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
oke,
I will try that tomorrow.
It's now around 10 o clock in the evening.
Almost time to sleep.
Roelof
Offline
Hello,
I have a new clean install of Arch.
I have 2 users root and roelof
When im root and im doing su everything is working right.
But when im roelof and im doing su i always get a password incorrect.How to solve this wierd problem.
Roelof
1. why are you doing su when you already are root?
2. You don't need to be a member or wheel to use su
3. sounds like the wrong password
4. how exactly are you trying to use su as your user?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
1. why are you doing su when you already are root?
I was only trying if it works nothing else.
2. You don't need to be a member or wheel to use su
Oke
3. sounds like the wrong password
Im sure it not a wrong password.
4. how exactly are you trying to use su as your user?
Im user roelof and enter in the prompt su
then I get a message to enter the password, I enter the password of root.
After then i get a message that the password is not correct.
Roel
Last edited by roelof (2009-08-08 20:10:48)
Offline
Sorry, wheel is not required by Arch for su. I use BSD too and should read more!
Anyway, what's the output of groups?
Last edited by loafer (2009-08-08 20:13:44)
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Maybe a wrong keyboard layout playing up, but usually it's user error and not system error . Reset your pass, check it again, type your password in the clear so you can actually see what letters it's composed of, just to make sure.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
There was a bug which broke su, but that was ages ago. Been long since you updated your system?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Two quick thoughts which come up to my mind:
1) Did you also try "su -" instead of plain "su"?
2) Does the same happen with another user (just for testing purposes)?
To know or not to know ...
... the questions remain forever.
Offline
Hello,
That's a lot of questions.
B : I did it and when I type the password in a terminal. Everything looks allright.
Mr. Elendig : I re-installed the system by ftp, so i migt think that that's not the problem.
Beranrcher : 1) I also try su - but problem still exist.
2) Do you mean make another su by addepting visodo file ?
Roelof
Offline
visudo has no connection to su at all. It is used to edit /etc/sudoers, the config file for sudo. Create a new user and try "su - newuser".
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
This one is solved.
I gave root a password and now everything is good,
Roelof
Offline
Pages: 1