Fedora :: Adding To A Rep File With An Editor As Root?
Jun 4, 2010
After installing skype from rpm I wanted to add a skype repo for future updates. As root I did 'touch skype.repo' and tried to open by 'kwrite skype.repo' but get the undermentioned error. As a user I can open the empty file with the command 'kwrite skype repo' but cannot save it as I am informed that I only have read access.
Code:
[root@localhost yum.repos.d]# kwrite skype.repo
kwrite(2391): Session bus not found
[code]...
View 3 Replies
ADVERTISEMENT
Mar 27, 2010
is it possible to do so? I mean, I want every user to be able to run '/bin/x' for example, as root without entering a password. I know the security risks, but I'm trying this in a risk-free environment which security does not matter very much.
View 2 Replies
View Related
Dec 30, 2010
I was using Kbibtex under 11.2 on my Lenovo (32-bit) but YaST does not find it now that I have upgraded to 11.3. Perhaps it is as simple a matter as adding another repository. Can anyone clarify for me?
View 7 Replies
View Related
May 25, 2009
I am having trouble getting a certain program to work. It's called Magic Set Editor and it has a linux version. It seems to install fine, but when I press the link to run the program it always says there is no file type associated with this program. Here is the site to download it: [URL]. I've tried the full and reduced versions, and I tried building it from source, which I have no idea how to do. I am using Fedora 10. Also, I've gone to their linux guy and he tried to help, but has never used Fedora, and so nothing he said worked.
View 5 Replies
View Related
Jan 26, 2010
I edited the passwd file to modify the default shell for root from bash to tcshnow when I try to login to root it gives me the following error:"su: /bin/tcsh : No such file or directory"
View 3 Replies
View Related
Mar 24, 2010
the terminal and logged in as root i was changing file permissions and happened to change the root folder to 700. Now my icons have gone and i can't even access the terminal.
I was just wondering if it is possible to go to rescue mode using the cd and restore all the appropriate file permissions to root/ users if possible
View 4 Replies
View Related
Jun 10, 2011
I have this file and i need a command to permanently add a line of code to the file and sort the file by ID. I was able to add a line with the echo command but its not permanent
Code: 111:Smith:Mary:Davison:Attorney
222:Stumblebum:Jason:Novi:Student
229:Esposito:Amy:Toronto:Artist
[code]....
View 3 Replies
View Related
Aug 14, 2010
Fresh install of openSUSE 11.3 here and I am used to launching Konqueror as root from the CLI and having a cut and paste editor to use. This doesn't work in KDE 4.4. I can't launch kwrite from the cli as root. What am I supposed to use? I installed midnight commander but it can't cut and paste correctly. I am feeling a bit frustrated with KDE 4.4.
View 9 Replies
View Related
Mar 28, 2011
How do I change the EDITOR environment variable so it stays changed? I already put a line
EDITOR=/bin/nano
in /etc/environment, and I also tried
sudo update-alternatives --config editor
to no avail; when I do gksu nautilus in Debian and open a config file I get abiword, and when I run the script "open as administrator" in Ubuntu I open Emacs if it is installed (I'd like to learn Emacs but not use it right away for simple editing tasks). How come? How can I make nano stick in all cases? I'll keep looking but have not yet found anything useful.
View 4 Replies
View Related
Jun 2, 2010
I have a script that among other things generates a makefile with an error that causes make to fail. specifically, the string "-Wimplicit-function-dec" should be changed a bit to "-Wimplicit-function-declaration". Is there a way to have bash add the new eight characters in the right place (on line 105)?
View 2 Replies
View Related
Aug 20, 2010
I have added the smbd file location to the path of root. I can now execute it from any location. I noticed after reboot of the machine (RHEL 5) that this file location is no longer in the path. How do I make this permanent?
View 1 Replies
View Related
Jul 4, 2011
I'm seeing on my Fedora 15 box. I want to add the superuser to a group called, say, thisgroup.thisgroup is absent. Surprisingly, when I thought of editing /etc/group, root was present there!Anyone on why groups didn't show my new addition?
View 3 Replies
View Related
May 22, 2010
I am running an updated Lenny. Just discovered that as user I am able to add new users via gui:
System > Administration > Users and Groups.
I was under the impression adding new users was restricted to root. Is this is a bug, and if so who do I report this to?
View 1 Replies
View Related
Aug 2, 2010
I have some contiguous free space available next to where my root partition resides on the hard drive. I was thinking of resizing the root partition with gparted to take up this space, but it's kind of risky. I was wondering if there is another way to include this partition into my Linux partition without resizing? Like somehow link it in so that / will have more free space?
View 1 Replies
View Related
Mar 2, 2011
I've noticed that the root account $PATH does not include /usr/local/bin or /usr/local/sbin by default. Are there any potential issues that could arise from adding those directories to the path? If so, what is the best way to make sure your shell finds executables in those directories, without affecting the stability and security of the system?
View 2 Replies
View Related
Jan 13, 2011
I am having an issue adding unallocated space to my root partition. Based on other threads I figured out that the unallocated space needs to be right next to the partition that one wants to extend. In my case, I would like to extend 'ext3' in attached screenshot of gparted. I carved out a 1002MB space and moved this unallocated space right under the ext3 partition (/dev/sda3). How do I add this unallocated space to /dev/sda3 please? When I run 'gparted' on bootup (using linux running on a usb stick), I don't get the option to increase the size of /dev/sda3. Basically the unallocated space is not being 'seen' when I try to resize /dev/sda3.
$df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 3844152 2935868 713008 81% /
none 502400 260 502140 1% /dev
none 508008 248 507760 1% /dev/shm
[Code]....
View 9 Replies
View Related
Feb 22, 2011
I recently re-installed my U10.04 and this time around, I added a root user and brought the permission levels of my default user to "Desktop User" as well as elevate the root permissions as explained elsewhere in these forums. Everything went fine until I wanted to "sudo" something from the Desktop User account terminal. I use Skype a lot and preferred to use the repos to get it loaded. Into synaptic where it asked me for the password. I entered the password and I was rejected. Ok, maybe I typed it in wrong. Tried again. The third time I checked in an editor to make sure I wasn't in all-caps. Third time OUT!
Switched user to root and there were no problems. Enabled the partner repos, installed Skype, as well as all the other stuff I use to run my home office. I have missed something, I know I have - perhaps a setting somewhere in the user permissions. I don't want to have to switch user every time I have to make changes to the system. Alternatively, if it's better practise to just leave my system as it is for security purposes I'm not running a server, but I'd like to have my system as secure as reasonably possible without elevating my problem to "paranoid security" level.......
View 5 Replies
View Related
Nov 9, 2009
I have a question about LVM. My /dev/sda disk is partitioned into Windows NTFS on sda1, Linux /boot partition on sda2, and the Fedora 10 root (/) LVM partition is on sda3. I have moved my Windows XP to VMware on the Linux system and would like to add the sda1 partition to root LVM group.
View 7 Replies
View Related
Jul 13, 2010
I am going to remove root access via SSH which seems fine but I don't know how to add a new user, do I have to create a group first or are there existing groups I can add a user to, and does it matter which group I add a user to if I want this user to have root access with sudo?
View 11 Replies
View Related
Sep 27, 2010
[URL]. I don't have permission to add the first thing and I cant find my root user on the list. I am an administrator.
View 3 Replies
View Related
Nov 9, 2010
I have a running RHEL5 system, which has two physical disk drives, but is currently running on a single drive of the pair. The single drive the system is running on contains a root/boot partition and a swap partition. I would like to be able to add a mirror drive to this existing setup without having to disturb the running system (much). That is, I don't want to have to completely dump, reinstall (creating the mirror on the way up), and reload from backup media if I can avoid it. I have seen procedures that go as follows:
- the "extra drive" (the one not being used as the current root/boot device) is first brought under LVM control as a root object with one physical mirror attached.
- the data from the running root/boot drive is rsync-ed over to the LVM-controlled half-mirror, and boot records added.
- System rebooted on newly created half-mirror.
- Original root prepped to be second side of LVM mirrored root, and is added in.
Can one boot from an LVM disk directly? There seems to be some question on this that came up in other lists I had read online.
View 5 Replies
View Related
Jul 25, 2011
On windows I really only used Notepad++ as my text editor, it had two features that I loved.What I need to accomplish is what I would do with Notepad++ column editor.I could have like 100 lines, and place the cursor at a column, and goto edit>column editor, and I could insert an incrementing number. (I could also pad the incrementing number with 0s, this was GREAT for making batch files among other things.)So each line at that column had a number higher than the previous line.The other feature that I used sometimes was a search/replace with regex patterns.Does anyone know of an editor that has those features for linux? I am mostly after the column editor insert feature but if you know of one with both features that would rock.
View 1 Replies
View Related
Oct 11, 2009
well i was messing with the Gparted live disk and i deleted a small partition of about 6 megs (yes megs). trying to be efficient doing some cleanup of course. but when i rebooted my Fedora 10 i get the black screen saying," could not find the file system. /dev/root". ok, i am useing the fedora 10 live cd now. can i copy that file to my hard drive from the cd? or do i need to reinstall Fedora?
View 1 Replies
View Related
Nov 22, 2010
Sorry to sound like a newbie dope but I somehow extracted a folder to the desktop and can't delete it because it says I don't have permission to read it. How can I delete this folder?
View 4 Replies
View Related
May 22, 2011
I have worked in linux for a long time but never managed the system until I got my own server, which is running Fedora 14. I have a 3 TB Drive and apparently can only handle 2 TB. At least the Disk Analyzer is telling me that 2TB is 100% max capacity. Also viewing disk analyzer, I am only using 50GB of my 2TB but I am out of memory in the Root file system. If I run df -h, I get he following:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_dev1-lv_root
50G 40G 7.2G 85% /
[code]....
View 4 Replies
View Related
Mar 10, 2011
How default editor can be changed in redhat linux to different editor.
View 4 Replies
View Related
Feb 2, 2010
I'm trying to use this guide:
http://ubuntuforums.org/showpost.php?p=3276774
but i can't seem to find or to download AssoGiate so i need something eles to create mime.
View 6 Replies
View Related
Mar 23, 2010
do you know of a movie editor for the file type .ogv?
View 1 Replies
View Related
Dec 24, 2010
Gif files display their length at the start of the file, and zip files have a table with the locations of the files at the end of the file. By combining the two it's possible to create a gif file which, when opened in an archive manager, contains hidden files. How would I go about doing this? Do I have to learn the zip standard and manually graft the files together in a hex editor?
Code:
cat input.jpg input.zip > output.jpg
The zip table must show the file location as an offset to the central directory.
View 1 Replies
View Related
Feb 13, 2011
How do I save a file edited with the VI editor? How do I get help information on this program?
View 1 Replies
View Related