can passw. include [, ] characters?

Asked by dinar qurbanov

hello.
i have installed ubuntu 7.04
than i saw user management and have changed root password
and have unchecked "can administrate" from {my own user name account}
than next time i switched computer on and logged in
i cannot log in to a window that requires root password
may be it is because my root password has "[" and "]" symbols?
and also there disappeared "user management" in "system"->"administrative tasks"
and also i cannot login to su and sudo.
if passwords in ubuntu does not allow some symbols it should not accept them when trying to set that password.
if "[" symbols work correctly, also say me please.
i do not want reinstall ubuntu because it is installing 3 hours maybe because 256 mb memory.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
dinar qurbanov
Solved:
Last query:
Last reply:
Revision history for this message
Olivier (olivier-lacroix) said :
#1

Hi !

Boot in recovery mode and use the command passwd to change your password : enter at the prompt

passwd <login>

Unchecking the "can administrate" now prevents you to use sudo.... so readd your user to the admin group with the command

usermod -a -G admin <login>

that should work again. And I doubt you could change root password in a graphical manner : the root account is disabled in ubuntu.

Revision history for this message
Olivier (olivier-lacroix) said :
#2

And I am pretty sure you can use whatever symbol in the passwords

Revision history for this message
dinar qurbanov (qdinar) said :
#3

thanks
your answers have helped.
(or maybe i have remembered the true password? or rebooting has helped?)
then i have changed root password to without [.
but that window doesn't work, i have looked at its command: gksudo ...
it seems to be gksudo problem..
but i can now login to su and run it.

Revision history for this message
dinar qurbanov (qdinar) said :
#4

hello.
i think i should say that that 3 hours installing was not of {normal ubuntu on cd}..
normal ubuntu on cd would install faster..

Revision history for this message
Olivier (olivier-lacroix) said :
#5

You cannot use gksudo or sudo as you removed yourself from the group of people being allowed to use it.so readd your user to the admin group with the command (entered as root)

usermod -a -G admin <login>