LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2006, 09:54 AM   #1
whishkah
Member
 
Registered: Mar 2004
Location: PA
Distribution: SuSE 10 OSS
Posts: 83

Rep: Reputation: 15
Question Suid?


I have suid installed on PCLinuxOS. However, in my user account it will not let me run a program with super user abilities. The "enter root password to continue" text pops up I enter the root password and then nothing. In a terminal I type "su" then the password. Then nothing happens the prompt doesn't even come up. It is just a blank line that I can type in. How to I configure my system to use this?

Thanks...
 
Old 09-07-2006, 10:26 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Question

What do you mean "I have suid installed"? AFAIK, suid something you do to an existing program file. It's a special permission which says (of the program file it is set on):

Quote:
when someone runs this program, run the process as if the owner of the file ran it instead of person who called the program.
If you have set the suid permission on a file - which file, and who is the owner of the file?

Do you mean sudo? This is program which achieves much the same thing as using the suid permission, but has less problems (using suid is generally considered a bad thing, and should be used with caution).
 
Old 09-07-2006, 10:45 AM   #3
whishkah
Member
 
Registered: Mar 2004
Location: PA
Distribution: SuSE 10 OSS
Posts: 83

Original Poster
Rep: Reputation: 15
Yes, I meant sudo. Sorry about that, I do have sudo installed. How do I get to use super user access?
 
Old 09-07-2006, 10:55 AM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Not sure about PCLinuxOS and sudo. I don't know how PCLinuxOS is set up for that stuff. Sorry
 
Old 09-07-2006, 12:15 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by whishkah
In a terminal I type "su" then the password.
Type 'su <username>' to switch to user, or leave blank to switch to root. Then it will ask for password. You can also use 'su -' which will remember enviromental variables like PATH.

Or type 'sudo <program>' to run a program as root. It will ask for pass.

'man sudo' and 'man su' for more help

Last edited by dive; 09-07-2006 at 12:17 PM.
 
Old 09-07-2006, 02:17 PM   #6
whishkah
Member
 
Registered: Mar 2004
Location: PA
Distribution: SuSE 10 OSS
Posts: 83

Original Poster
Rep: Reputation: 15
Nevermind... Once I found out I was calling it the wrong thing that made everything easier.

-I went into synaptic and found the program. Then I started playing around in a terminal. I figured why not and tried, logged in as root:

# sudo --help

~then~

# sudo [ -u whishkah ]

That seems to have worked. Thank you all for your help.
 
  


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
why all these SUID files? edman Linux - Security 1 02-01-2005 01:59 PM
Suid only for one user? sti2envy Linux - Security 2 11-04-2004 09:43 PM
suid pppoe Santas Linux - Security 0 10-18-2004 05:42 PM
SUID C function untwisted Programming 10 03-22-2004 07:19 PM
SUID file drops suid bit on append? c_coder Programming 1 03-12-2004 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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