LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2008, 01:34 AM   #1
tuxJK
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
I cant login as root using su command.


Hi,
I am using openSUSE 11.When I enters su command in konsole and enters the correct password it shows incorrect password. But when i do the same in kdestartup->applications->system->terminal->gnome terminal(command line terminal) it works. Also the konsole shows problems when I use vi editor. When I press i for insert mode it deletes one character and inserts one i then insert mode goes on.I am new to linux.Can you help me.

Thanks in advance.

Last edited by tuxJK; 12-04-2008 at 01:36 AM.
 
Old 12-04-2008, 03:44 AM   #2
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
I can't be absolutely sure about Suse, but because I use Ubuntu, I sometimes have the same issue. The trick is to do a "sudo su", which will then make the system prompt you for your own password, and as long as your user is in the "sudoers" file, you should then take on root capabilities
 
Old 12-04-2008, 04:35 AM   #3
tuxJK
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I tried it too.Its not working.
 
Old 12-04-2008, 04:37 AM   #4
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Rep: Reputation: 32
try changing the password by , sudo passwd user_name

try sudo -s

Last edited by peeths003; 12-04-2008 at 04:38 AM.
 
Old 12-04-2008, 06:47 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The KDE 4.0 included in Suse 11 makes all kinds of errors.

So if a KDE application doesn't work, e.g. konsole :
not much to do, except using another app, in this case
.. the gnometerminal or xterm.

....
 
Old 12-04-2008, 08:45 AM   #6
tuxJK
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
sudo -s works somtime.But most of time it doesnt.Both sudo -s and sudo su works fine in gnome terminal.I am using kde 3.5 and the problem started 3 days before.I think I wanna adjust with gnome terminal.
Thanks to all for helping.
 
Old 12-04-2008, 09:41 AM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,970
Blog Entries: 4

Rep: Reputation: 4027Reputation: 4027Reputation: 4027Reputation: 4027Reputation: 4027Reputation: 4027Reputation: 4027Reputation: 4027Reputation: 4027Reputation: 4027Reputation: 4027
Lots of distros now restrict who can issue the 'su' command. Generally you must be a member of the wheel group.

The rule that implements this is usually found in someplace like /etc/pam.d/su.

Now, to me, being a member of the wheel group makes you more of a "power-user," and bad guys know that users tend to be lazy. They know that users tend to give themselves more power than they need because it's "convenient." This is therefore generally not a wise thing to do.

Set up a separate maintenance account that is a member of wheel if you like, that you do not normally use.
 
  


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
Intalled TRIX BOX, login as root, then nothing? Just a command line. How do I use IT? tekkid12052 Other *NIX 8 05-30-2007 08:51 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 04:44 AM
Command to Login as Root Sleepy_Sentry Linux - Newbie 2 08-12-2005 02:14 PM
User Login Problem: "command not found" unless root! DreameR-X Linux - General 15 12-21-2004 12:27 PM
Is it normal to login as root for the 'make install' command? killswitch1968 Linux - Software 6 03-13-2004 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:55 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
Open Source Consulting | Domain Registration