LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem regarding on admin and root pass (https://www.linuxquestions.org/questions/linux-newbie-8/problem-regarding-on-admin-and-root-pass-71738/)

glacier1985 07-10-2003 10:15 PM

problem regarding on admin and root pass
 
when iam installing the mandrake the system asks about admin name,email address ? ,after several installations the system asks again for root password however, after i finish the installation, i try to play around with the admin id and pass it somehow wont recognize the id and pass ? my question is how do i set up admin id and pass correctly ?

any suggestions would be greatly appreciated.

ann_tulip18 07-10-2003 10:50 PM

I dont know if its the same with RH but try this:

Try to go to the console and invoke :

passwd root

then enter the password for it.


:newbie:

glacier1985 07-11-2003 08:43 AM

yea i tried

first i logon as normal user than i type passwd root, the system says only root can specifiy user name
any ideas ?

ann_tulip18 07-13-2003 08:10 PM

When u logged as a normal user, in the shell prompt

try this:


[glacier@servername]# su [ normal user id]

then type your password.

then after that try to invoke passwd root then enter your desired password for your root.

Hope it works


:newbie:

Dark_Helmet 07-13-2003 08:19 PM

Actually, you don't need to specify the user id for su if you want to enter the root account. Just plain old su will work.

Once you're root, you can type:
passwd username

and that will change the password of the username you specify.

Here's the catch, if you're trying to change root's password, then that won't work because su will want you to enter root's password before letting you become root. Sort of a catch-22. You'll have to enter single-user mode to get around that problem.

ann_tulip18 07-13-2003 08:34 PM

Ok.. i see....


Sorry! IM NEWBIE with linux!

:newbie:


All times are GMT -5. The time now is 04:24 PM.