LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-02-2003, 03:45 PM   #1
ole
LQ Newbie
 
Registered: Mar 2003
Posts: 6

Rep: Reputation: 0
Question su problem


When I type in my terminal 'su', than he says: wrong password... (immediately)
Normally he always asked me the password, but since a few days not anymore...
So I can't log in as a root in my terminal

mvg,

ole (redhat 8.0, KDE 3.0)
 
Old 04-02-2003, 04:12 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
try 'su root'

vriendelijke groeten terug
 
Old 04-02-2003, 04:38 PM   #3
ole
LQ Newbie
 
Registered: Mar 2003
Posts: 6

Original Poster
Rep: Reputation: 0
su root has the same effect: he says
su: wrong password


mvg ,

ole
 
Old 04-02-2003, 04:46 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Can you login from the console?

You could start a new shell by trying "su -".
 
Old 04-02-2003, 04:47 PM   #5
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Try loggin in in single user mode, there you can change the root password. Reboot and enter the command linux single or if that doesn't work, try passing linux init=/bin/bash.
Btw, it will be easier for people to help you in the future if you state your distro in your personal profile.
 
Old 04-02-2003, 04:50 PM   #6
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
Maybe your enter key is broken
 
Old 04-02-2003, 04:57 PM   #7
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Quote:
Originally posted by bahamat
Maybe your enter key is broken
 
Old 04-02-2003, 04:59 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Quote:
Originally posted by bahamat
Maybe your enter key is broken
__________________
If you think XP isn't based on DOS open a "console" and type mem
You would think the would still get a password prompt - wouldn't you?

As for the sig - isn't that because XP loads a dos shell in order to run the mem command?
 
Old 06-25-2003, 07:52 PM   #9
cruzfernandez
LQ Newbie
 
Registered: Jun 2003
Posts: 5

Rep: Reputation: 0
Lightbulb

Maybe your /bin/su doesn't have setuid bit on.
$ ls -l /bin/su
-rwsr-sr-x 1 root root 23176 2003-06-24 15:46 /bin/su


You should see this (look the `s` character), enter as root (press CTRL-ALT-F1), and run:

$chmod +s /bin/su
$

hope this helps. ;-)
 
Old 06-25-2003, 08:09 PM   #10
Mojojo
Member
 
Registered: May 2003
Location: Philadelphia/PA
Distribution: Mint/Debian
Posts: 447

Rep: Reputation: 32
Quote:
Originally posted by bahamat
Maybe your enter key is broken
 
  


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
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM


All times are GMT -5. The time now is 12:39 PM.

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