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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-02-2003, 03:45 PM
|
#1
|
LQ Newbie
Registered: Mar 2003
Posts: 6
Rep:
|
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)
|
|
|
04-02-2003, 04:12 PM
|
#2
|
Senior Member
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123
Rep:
|
try 'su root'
vriendelijke groeten terug 
|
|
|
04-02-2003, 04:38 PM
|
#3
|
LQ Newbie
Registered: Mar 2003
Posts: 6
Original Poster
Rep:
|
su root has the same effect: he says
su: wrong password
mvg  ,
ole
|
|
|
04-02-2003, 04:46 PM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Can you login from the console?
You could start a new shell by trying "su -".
|
|
|
04-02-2003, 04:47 PM
|
#5
|
Senior Member
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123
Rep:
|
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.
|
|
|
04-02-2003, 04:50 PM
|
#6
|
Member
Registered: Mar 2003
Distribution: Debian
Posts: 158
Rep:
|
Maybe your enter key is broken
|
|
|
04-02-2003, 04:57 PM
|
#7
|
Senior Member
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123
Rep:
|
Quote:
Originally posted by bahamat
Maybe your enter key is broken
|

|
|
|
04-02-2003, 04:59 PM
|
#8
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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?
|
|
|
06-25-2003, 07:52 PM
|
#9
|
LQ Newbie
Registered: Jun 2003
Posts: 5
Rep:
|
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. ;-)
|
|
|
06-25-2003, 08:09 PM
|
#10
|
Member
Registered: May 2003
Location: Philadelphia/PA
Distribution: Arch
Posts: 452
Rep:
|
Quote:
Originally posted by bahamat
Maybe your enter key is broken
|

|
|
|
All times are GMT -5. The time now is 03:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|