LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices



Reply
 
Search this Thread
Old 12-27-2006, 05:19 PM   #1
drsethi
Member
 
Registered: Jun 2006
Location: Amritsar
Distribution: SuSE 11.1
Posts: 55

Rep: Reputation: 15
yast error


When I want to start yast it says password is wrong but by console I can start it with same password. Also I can log as root with same password. what is this problem?Messages are as follows on 1st and 2nd try
Incorrect password; please try again.
Conversation with su failed.
 
Old 01-04-2007, 09:08 PM   #2
crazibri
Member
 
Registered: Mar 2004
Location: Orange County, CA
Distribution: OS X, SuSE, RH, Debian, XP
Posts: 377

Rep: Reputation: 31
I've got the same error.

It has to do with the new Sudoers module in Yast2.
I played around in there and now it doesnt accept the root password from KDE, but I can still get in to "su" via the shell.

Can someone post their /etc/sudoers file from a Suse 10.2 default installation?
Thanks!
 
Old 01-05-2007, 12:08 PM   #3
drsethi
Member
 
Registered: Jun 2006
Location: Amritsar
Distribution: SuSE 11.1
Posts: 55

Original Poster
Rep: Reputation: 15
I logged as root and then started yast then changed root's password and it removed my problem.
By the way after some time my system crashed and became read only. It could not be repaired so I reinstalled Suse Linux.
Now working fine.
 
Old 01-06-2007, 01:36 AM   #4
crazibri
Member
 
Registered: Mar 2004
Location: Orange County, CA
Distribution: OS X, SuSE, RH, Debian, XP
Posts: 377

Rep: Reputation: 31
Dont use Sudoers in Yast

I reinstalled Suse 10.2 to see the original suoders file in etc.

Code:
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults specification

# prevent environment variables from influencing programs in an
# unexpected or harmful way (CVE-2005-2959, CVE-2005-4158,
# CVE-2006-0151)
Defaults always_set_home
Defaults env_reset

# In the default (unconfigured) configuration, sudo asks for the root password.
# This allows use of an ordinary user account for administration of a freshly
# installed system. When configuring sudo, delete the two
# following lines:
Defaults targetpw    # ask for the password of the target user i.e. root
ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!

# Runas alias specification

# User privilege specification
root    ALL=(ALL) ALL

# Uncomment to allow people in group wheel to run all commands
# %wheel        ALL=(ALL)       ALL

# Same thing without a password
# %wheel        ALL=(ALL)       NOPASSWD: ALL

# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
 
  


Reply

Tags
password, root, yast


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
suse yast error efm Linux - Distributions 15 10-20-2006 01:34 PM
YAST error message ionmich Suse/Novell 5 07-19-2006 04:40 PM
yast update error everyonebleeds Suse/Novell 1 04-11-2006 07:39 PM
Yast error (Read error) Cubsy Linux - Software 2 02-12-2004 04:37 PM
SuSE 9 YAST Install Error JDeer0618 Linux - Software 4 01-28-2004 07:50 AM


All times are GMT -5. The time now is 03:16 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration