https://bugzilla.novell.com/show_bug.cgi?id=327011#c2
frimann jonasson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|frimann@mi.is |
Summary|after installing smb4k and ok to use superuser |after installing smb4k and ok to use superuser
|yast2 does not work |su returns with an error on starting yast from
| |gui
--- Comment #2 from frimann jonasson 2007-09-24 16:22:47 MST ---
clikking on yast in the menu returns "Su returned with an error"
I can start yast if i do su and root password and yast2 in konsole.
This must bee something smb4k did i chose "use superuser privileges to mount
and unmount shares"
and this hapened
# 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
Defaults env_keep
= "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT
LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL
LANGUAGE LINGUAS XDG_SESSION_COOKIE"
# Comment out the preceding line and uncomment the following one
if you need
# to use special input methods. This may allow users to compromise the root
# account if they are allowed to run commands without authentication.
#Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION
LC_MEASUREMENT LC_ME
SSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL
LANGUAGE LINGUAS XDG_SESSION_COOKIE XMODIFIERS GTK_IM_MODULE QT_IM_MODULE
QT_IM_SWITCHER"
# In the default (unconfigured) configuration, sudo asks for the root password.
# This al
lows 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 u
se this together with 'Defaults targetpw'!
# Runas alias specification
# User privilege specification
root ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel ALL=(ALL) SETENV:
ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
# Entries for Smb4K users.
# Generated by Smb4K. Please do not modify!
User_Alias SMB4KUSERS = frimann
Defaults:SMB4KUSERS env_keep="PASSWD USER"
SMB4KUSERS dhcppc2 = NOPASSWD: /opt/kde3/bin/smb4k_kill
SMB4KUSERS dhcppc2 = NOPASSWD: /opt/kde3/bin/smb4k_umount
SMB4KUSERS dhcppc2 = NOPASSWD: /opt/kde3/bin/smb4k_mount
# End of Smb4K user entries.
- Show quoted text -
On 9/21/07, bugzilla_noreply@novell.com < bugzilla_noreply@novell.com> wrote:
https://bugzilla.novell.com/show_bug.cgi?id=327011#c1
Stephan Binner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |frimann@
mi.is
--- Comment #1 from Stephan Binner 2007-09-21 01:00:16
MST ---
YaST2 modules have to be run as root, so what's the problem? What's the console
output or message box when "yast2 does not work"?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the Infoprovider for the bug.
You reported the bug.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.