LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2008, 03:12 AM   #1
methoxcy
Member
 
Registered: Dec 2007
Posts: 48

Rep: Reputation: 16
Angry Roots password not working!!!


guys i need help my root password not working anymore but in terminal i can use roots password but in my GUI i can't how this things happen??
 
Old 07-22-2008, 03:19 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
login as a regular user, then type su <enter> then root's password.

It's set up that way for security purposes.
 
Old 07-22-2008, 03:24 AM   #3
methoxcy
Member
 
Registered: Dec 2007
Posts: 48

Original Poster
Rep: Reputation: 16
i already do that , i want to install a antivirus but in GUI requires a administrative rights which is root but i try to enter my password it doesn't work , but in my black screen which is a command prompt in windows my roots password works well what shall i do sir..
 
Old 07-22-2008, 03:32 AM   #4
jedi_sith_fears
Member
 
Registered: Jan 2008
Location: Kolkata
Distribution: Slackware(64)-current, Fedora 14, FreeBSD
Posts: 136
Blog Entries: 1

Rep: Reputation: 29
specifically which distro are you using?

I expect you are using an ubuntu based distro, and your antivirus has a gui-based installer?
 
Old 07-22-2008, 03:33 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Use "kdesu" or the gnome equivalent (depending on your desktop environment) instead of su. The root user may not have access to your x window. However if you run a console program such as "rpm" to install the package in the terminal, then "sudo" will be fine. Some distro's also have a "sux" program to do the same thing.

What kind of antivirus program are you trying to install? There is an antivirus program that scans for windows viruses if you are running a mail server or file server. Otherwise you might by getting snookered or even be trying to install something that claims to be an antivirus program but actually installs a root kit.

Please put your distro in your user profile. Also indicate the name of the package. Then we can tell you the "apt-get" or "zypper" command to run to install a package.

Also, try to use your package system to install packages. Especially as you are new to Linux. You will have fewer problems that way, as dependencies will be installed as well and the versions of libraries will match up.
 
Old 07-22-2008, 03:51 AM   #6
methoxcy
Member
 
Registered: Dec 2007
Posts: 48

Original Poster
Rep: Reputation: 16
sorry sir i forgot to post my distro Im using mandriva 2007 and i just want to download from its software a anti virus but it requires a roots password i tried to enter many times but password incorrect but actually i used root's password in entering a command prompt that black screen and it works how come that may roots password works in command prompt and it doesn't work in my GUI when it requires a password sir.
 
Old 07-22-2008, 06:39 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Are you trying to do this through rpmdrake? Are you a member of the "wheel" group. One thing that could cause a problem is if your character encoding maps an oddball character differently than root's encoding. I'm still not straight on whether your problem is with the password being rejected or if the root user is denied access to the desktop.

If you can't install it through rpmdrake, you could try using urpmi in the console instead.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script to read password from roots home lord-fu Linux - Server 2 06-04-2007 01:09 PM
The Roots of Consumerism Envision5000 General 12 03-17-2006 05:26 PM
Two roots? revenge80200 Yoper 0 01-29-2005 06:55 PM
Installpkg and different roots pcause Slackware 2 08-12-2003 02:21 PM
roots password expired. wlfdgcrkz Linux - Software 2 06-19-2003 07:50 AM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration