LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-26-2009, 07:23 AM   #1
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Unhappy SUSE 11.0 - "SU" command giving error for installation through YAST


hi ,
i am using SUSE 11.0 KDE 4.0 . My system has root user, one normal user and both are me only. I am using only 'user account' only.I used to install softwares from 'user account' by using YAST.
Now my problem is - when i am trying install a rmp file through YAST, it ask root password by a dailog window. when i entered the root password it is giving error
Quote:
The program 'SU' not found. </br>Make sure your path
I had attched a screen captured image of that window.

and then after i had to be ignore that message. Installation just starts and then gives error, installation fails. so now i am not able to install any softwares through YAST !!
Attached Thumbnails
Click image for larger version

Name:	su command.jpeg
Views:	23
Size:	20.0 KB
ID:	28  

Last edited by raju.mopidevi; 01-26-2009 at 07:33 AM.
 
Old 01-26-2009, 07:31 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Two things to check are the PATH variables for yourself and root and whether the coreutils package is installed. Your system may not even run without coreutils. So maybe some commands got deleted.

Code:
which su
/bin/su
jschiwal@hpmedia:~> rpm -qf /bin/su
coreutils-6.11-9.1
Make sure that /bin/ is in your path.
Also check the permissions of su. It should be owned by root and have the suid bit set:
-rwsr-xr-x 1 root root 37320 Jun 6 2008 /bin/su

If something happened to /bin/su, try to fix it using sudo, or logging into a virtual terminal ([CTRL]-ALT-F2 for example) to fix the problem.

Last edited by jschiwal; 01-26-2009 at 07:36 AM.
 
Old 01-26-2009, 08:07 AM   #3
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155

Original Poster
Blog Entries: 12

Rep: Reputation: 92
Unhappy SUSE 11.0 - "SU" command giving error for installation through YAST

i had tested both of your suggestions,
Code:
which su
/bin/su
jschiwal@hpmedia:~> rpm -qf /bin/su
coreutils-6.11-9.1
cd /bin
ls -l su
-rwsr-xr-x 1 root root    32032 2008-06-07 02:47 su
they gave same output as you given.

I am getting this "su" command problem in 'user account'.Not in root account . why this is happening ??
 
  


Reply

Tags
su



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
giving search-string(s) from a file to linux "find" command Fond_of_Opensource Linux - Newbie 3 02-02-2009 06:14 PM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
Suse 9.1 Personal - YAST "An Error Occured During Installation" maniar SUSE / openSUSE 3 10-24-2004 03:52 AM
Newbie problem: Starting YAST gives me "-bash: yast: command not found". cattleya Linux - Software 9 11-20-2003 11:18 AM
"segmentation error" when issuing "useradd" command through terminal with RH 9.0 kaihuang Linux - General 0 10-21-2003 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:08 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