LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack 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: Arch current, SuSe 10.1 32-bit, FreeBSD current, OpenBSD 4.0
Posts: 453

Rep: Reputation: 30
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 02:55 AM.

Main Menu
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