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 04-24-2007, 04:52 PM   #1
Ultrus
Member
 
Registered: Jan 2006
Posts: 50

Rep: Reputation: 15
Question temporary root permissions while logged in as user?


Hello,
I'm logged in as a non-root user, installing an rpm of some sort, and there are files I want to change that turn out to be read only, unless logged in as root user. Being lazy, not wanting to close all my windows, log out, log in as root, and open all the folders again to make file changes, can I temporarily give my user self root priveleges?

I understand the su command, but that only seems to work in the command prompt. Is there a desktop version of su that I can use?

Thanks much
 
Old 04-24-2007, 05:40 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
There are two, well probably many more, but I think of 2 off the top of my head.

Gksu
Gksudo

Although I might suggest you open a terminal, type 'su' to get root privileges, then (at the terminal) type the name of your rpm frontend.
 
Old 04-25-2007, 09:19 AM   #3
Ultrus
Member
 
Registered: Jan 2006
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks for the tips.
 
Old 04-25-2007, 06:51 PM   #4
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
No problem.
 
Old 04-25-2007, 09:59 PM   #5
broch
Member
 
Registered: Feb 2005
Distribution: Slackware-current 64bit
Posts: 465

Rep: Reputation: 32
sudo (install and add user to sudoers)
su -c one_word_command
su -c "use colon if more than one word command"

KDESU, installed with kde:

K Menu -> run program -> clck on "Options" button -> check "Run as different user" option
enter command and root/password or any user you want.
 
  


Reply



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
Audio when logged in as root, not when normal user? LDJ Linux - Newbie 2 01-12-2007 05:03 PM
KDE users - Having root file manager while still logged in as normal user thegeekster Linux - General 1 04-27-2004 10:47 PM
firebird flash problem when logged in as user (but not as root) thegreatgatsby Linux - Software 3 11-20-2003 08:30 AM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM
Modem connection fast when logged in as root slow when normal user Fennek Linux - Networking 0 03-17-2003 10:59 AM

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

All times are GMT -5. The time now is 04:18 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
Open Source Consulting | Domain Registration