LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2010, 05:53 AM   #1
muckybucket
Member
 
Registered: May 2010
Posts: 37

Rep: Reputation: 15
Get root permissions, Fedora 13


New to Linux, want to tinker around but cannot figure out how to get root permissions to my login, or login as root (can do this in terminal, but that is not much help for the rest of the environment I am working in!).

Thanks
 
Old 06-08-2010, 05:57 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Hi,

Take a look at
http://www.fedoraguide.info/index.ph...tching_to_Root
 
Old 06-08-2010, 06:07 AM   #3
muckybucket
Member
 
Registered: May 2010
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks, just looking at that, but still doesn't enable me to get permissions permanently? I read somewhere that you cannot log in a root through the GUI?
 
Old 06-08-2010, 06:09 AM   #4
muckybucket
Member
 
Registered: May 2010
Posts: 37

Original Poster
Rep: Reputation: 15
At the moment I just want to edit some config files so I can get firefox sync to work, but permissions are preventing me from doing so.
 
Old 06-08-2010, 06:11 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Why would you login as root in the GUI?
It's a safety risk.
Use su to perform root task.
Open a terminal, use su to become root, and edit the files, using
Code:
vi /path_to_the_file/filename

Last edited by repo; 06-08-2010 at 06:12 AM.
 
Old 06-08-2010, 06:16 AM   #6
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Hi

You can also use sudo - login as root into the terminal; and add your "normal" user to /etc/sudoers (the file itself will help you with the syntax) - thereafter you can run priveleged commands like so:

Code:
$sudo my_priveleged_command
 
Old 06-08-2010, 06:35 AM   #7
muckybucket
Member
 
Registered: May 2010
Posts: 37

Original Poster
Rep: Reputation: 15
Right, thanks!
 
Old 06-08-2010, 06:38 AM   #8
muckybucket
Member
 
Registered: May 2010
Posts: 37

Original Poster
Rep: Reputation: 15
Now I have to figure out how to allow Firefox sync to run!!!
 
Old 06-08-2010, 06:43 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
What is the problem?
Sync is a plugin, so install the plugin as user in firefox, and it should work.
No need to be root
 
Old 06-08-2010, 07:01 AM   #10
muckybucket
Member
 
Registered: May 2010
Posts: 37

Original Poster
Rep: Reputation: 15
It doesn't work unfortunately. I wanted to get permissions to change files where needed to enable this to work... Just have to figure that out first!!
 
Old 06-08-2010, 07:19 AM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
What doesn't work?
AFAIK you don't need to change permissions.
Take a look at
http://mobile.support.mozilla.com/nl...obile%20device
 
Old 06-08-2010, 07:29 AM   #12
muckybucket
Member
 
Registered: May 2010
Posts: 37

Original Poster
Rep: Reputation: 15
Yes, I know how it is set up and works, have done this fine on other machines (Ubuntu and Win7) but doesn't want to sync with Fedora.

I believe it is being blocked by either the firewall or SELinux (most likely).

If anyone has the solution to this, great, but I have found some other bits and pieces online that involve editing files that I do not have permissions for, hence the original post!!
 
Old 06-08-2010, 07:46 AM   #13
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
Code:
[guest@localhost ~]$ su
[root@localhost guest]#
Code:
[guest@localhost ~]$ su root
[root@localhost guest]#
Code:
[root@localhost guest]# apropos
usage: apropos keyword ...
Code:
[root@localhost guest]# mandb
bash: mandb: command not found
[root@localhost guest]# makewhatis
[root@localhost guest]#
Code:
[root@localhost guest]# apropos sync
adjtime              (3)  - correct the time to synchronize the system clock
aio_cancel           (3)  - cancel an outstanding asynchronous I/O request
aio_error            (3)  - get error status of asynchronous I/O operation
aio_fsync            (3)  - asynchronous file synchronization
aio_read             (3)  - asynchronous read
aio_return           (3)  - get return status of asynchronous I/O operation
aio_suspend          (3)  - wait for asynchronous I/O operation or timeout
aio_write            (3)  - asynchronous write
fdatasync [fsync]    (2)  - synchronize a file's in-core state with storage device
FD_CLR [select]      (2)  - synchronous I/O multiplexing
FD_CLR [select_tut]  (2)  - synchronous I/O multiplexing
FD_ISSET [select]    (2)  - synchronous I/O multiplexing
FD_ISSET [select_tut] (2)  - synchronous I/O multiplexing
FD_SET [select]      (2)  - synchronous I/O multiplexing
FD_SET [select_tut]  (2)  - synchronous I/O multiplexing
FD_ZERO [select]     (2)  - synchronous I/O multiplexing
FD_ZERO [select_tut] (2)  - synchronous I/O multiplexing
fsync                (2)  - synchronize a file's in-core state with storage device
io_cancel            (2)  - cancel an outstanding asynchronous I/O operation
io_destroy           (2)  - destroy an asynchronous I/O context
io_getevents         (2)  - read asynchronous I/O events from the completion queue
io_setup             (2)  - create an asynchronous I/O context
io_submit            (2)  - submit asynchronous I/O blocks for processing
msync                (2)  - synchronize a file with a memory map
Net::DBus::ASyncReply (3pm)  - asynchronous method reply handler
ntpstat              (1)  - show network time synchronisation status
pselect [select]     (2)  - synchronous I/O multiplexing
pselect [select_tut] (2)  - synchronous I/O multiplexing
rsync                (1)  - a fast, versatile, remote (and local) file-copying tool
rsyncd.conf [rsyncd] (5)  - configuration file for rsync in daemon mode
select               (2)  - synchronous I/O multiplexing
select [select_tut]  (2)  - synchronous I/O multiplexing
sigtimedwait [sigwaitinfo] (2)  - synchronously wait for queued signals
sigwaitinfo          (2)  - synchronously wait for queued signals
sleep_on             (9)  - synchronization using a condition variable
sync                 (2)  - commit buffer cache to disk
sync                 (8)  - synchronize data on disk with memory
sync_file_range      (2)  - sync a file segment with disk
synclient            (1)  - query and modify Synaptics TouchPad driver for XOrg/XFree86 server parameters on the fly
[root@localhost guest]# apropos firefox
firefox: nothing appropriate
[root@localhost guest]#
 
0 members found this post helpful.
Old 06-08-2010, 07:58 AM   #14
Gridley
LQ Newbie
 
Registered: Apr 2010
Posts: 10

Rep: Reputation: 1
I realize that you are new to either Linux, or Fedora (or both), but your problem appears to be multi-part.

I run Fedora at home, and whenever I click on a system level application such as the firewall configuration app, I get prompted for root password. It would really help if you fully explained what it is you want to achieve, because so far it appears you yourself are not entirely certain what the goal is.
 
Old 06-08-2010, 08:01 AM   #15
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
Code:
[root@localhost guest]# cat >> /etc/groupENTER
FIREFOXSYNCUSER:x:321:ENTER,Cont+d
[root@localhost guest]# cat /etc/group
root:x:0:
bin:x:1:
daemon:x:2:messagebus,haldaemon
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:
mail:x:12:
news:x:13:
uucp:x:14:
man:x:15:
floppy:x:19:
games:x:20:
tape:x:21:
cdrom:x:22:
utmp:x:24:
shadow:x:25:
chkpwd:x:26:
auth:x:27:
usb:x:43:
cdwriter:x:80:
audio:x:81:
video:x:82:
users:x:100:
nogroup:x:65534:
messagebus:x:101:
avahi:x:102:
avahi-autoipd:x:103:
rpm:x:16:
polkituser:x:17:
haldaemon:x:18:
vcsa:x:69:
rpc:x:70:
ntp:x:71:
gdm:x:72:
xgrp:x:104:gdm
rpcuser:x:73:
sshd:x:74:
slocate:x:105:
ntools:x:106:
ctools:x:107:
guest:x:500:
FIREFOXSYNCUSER:x:321:
[root@localhost guest]#
 
0 members found this post helpful.
  


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
Root Permissions Benjoo Linux - Hardware 4 10-04-2008 12:12 AM
Root permissions jld9 Linux - Newbie 1 11-01-2007 07:21 PM
root-like permissions ? bbbb Linux - Newbie 7 11-12-2005 07:03 AM
root permissions wass29 Slackware 3 05-10-2004 11:58 AM
root permissions explorer Linux - Newbie 3 03-06-2003 05:17 PM


All times are GMT -5. The time now is 06:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration