Software :: Setting Up 2 Programs ROOT And GEANT4 Through .tcshrc File
May 10, 2010
I have a problem with setting up 2 programs ROOT and GEANT4 through .tcshrc file. In order to better understand what I mean, I have attached the contents of my .tcshrc below. So, when I open a new Terminal, ROOT would not work, but the Geant4 works. Although everything is set up correctly, I have checked the commands for ROOT later, and in that case it works perfectly fine. When I switch ROOT and Geant4, and put Geant4 commands first, and later ROOT commands then ROOT would work, but the GEANT4 libraries won't. let me know what is wrong with my .tcshrc file.
I have GParted installed, running openSUSE 11.3 with GNOME. When running GParted, it always grayed out most file system actions, supporting only hfs fully. This made no sense, as I had all the required packages installed for other file system support. However, I recently figured out how to get it to work. Using the installed menu button doesn't work, running "gnomesu /usr/sbin/gparted" doesn't work; to get it to work, I have to open up a terminal, type "su -" to log in as root, and then run gparted. The menu button and gnomesu both prompt for a password, so it should be running as root, but launching it through the root terminal is the only way to actually get it to work. Is one root different from another?
I edited fstab to automatically mount my windows data partition on boot, but I screwed it up by not specifying the file system type, however that is not the problem, I was able to fix that easily. The problem was that when it failed to mount the partition, Debian automatically entered root and I guess that is to be expected in order for me to fix it, but I never configured a root password and it just gave me full root access without asking any password, not even my user password. I though that was strange so I set the root password and sure thing it asked me for the root password this time without automatically logging into root....
I then tried to lock the root account to see if it will ask me for a password or not, it did but of course I wasn't able to login as root because it was locked now and I was left with no way to access the system. I had to fix fstab from a live cd so that I can login normally as the user....
I didn't know what to search for or if that is the expected behavior if you don't set root password during installation, but it just seemed a bit strange to automatically enter root when you specifically disable root login during installation...
I'm trying to get tmux to open a certain set of panes an certain programs in those panes by default and open that way every time I run tmux. Is there any way to do this?
I read in the documentation commands for this, but i have no idea where to begin.
I have access to an account on my school's student-linux server, but I don't have sudo or root access.
I would like to install and use programs aside from the minimum ones available to all users. We have been given permission to do this, excepting new webserver and database software.
I know enough to compile and make a tarball, but that leaves me with an inelegant directory structure, no man page access, and no easy access to the executable.
I would like someone to share how they would install programs in this environment- ideally in a clean manner, with access to the man pages, and info about how to set an environment variable so the programs can be accessed via their name (without a path) both by me and possibly by scripts.
Dealing with missing libraries seems to complicate things further. For example, a program as simple as toilet requires libcaca.
I think the proper handling of the process of cleanly installing libraries in a user's home directory is an integral part of an answer to how to install programs without root access.
I'm using Ubuntu 10.04 64-bit and I'm having the following issue: a lot of the programs I use seem not to be able to save their settings on shutdown (Visual Paradigm for UML, for example. Kile is another one). This happens only for some of my programs. What is causing this? Have I installed them in an inappropriate location? (e.g. VP is in /opt). I also have this problem sometimes with system settings (screensaver reverted to old value upon reboot once, but after that it worked...).
Edit: Just noticed running as root doesn't work either, I rebooted and it's back to square one
In the applications menu I would like to always run certain programs as root. For instance Wireshark; I'll never want to run that as a regular user I'll always want to be root. Is there a way to set it up so that when I click it in the menu I'm prompted for my password and it will automatically run as root? (Much like in windows you can right click and check the box that says always run as administrator.)
I'm trying to compile programs under Solaris in my Home directory.
Ive had experience with simple installs which work with just
But with more involved programs, with dependencies on special libraries, how do I have the system look into my home directory for these? and how would I compile them into my home dir?
and if i didnt customize partitions when i installsed and just used the whole drive - they're both together in the same partition right, the home just goes into the root? but it still creates a 2-3 gig swapfile?
do you recommend creating separate partitions for the home and root folder during install? is there any benefit besides being able to reinstall ubuntu without losing your data?
At least this is what it looks like to me. Amarok can play music but asks to open kde wallet manager for some password. All other programs (vlc, media player, audacity, etc) seem to function normally but no sound comes out of the speakers. code...
So simply running program requiring sound enabling as root does not work - plus it would not be very good practice, IMHO.
I have ubuntu 11.04 installed along side windows. And I often share files with windows computers. If I am installing a new package from ubuntu software center, and consquently I have to log in as root to do so, which means I have given the system 'privileges' as the program is being installed, I decide to go open mozilla, and surf suspicious sites on the net. Is it possible in that case for me to get a virus?
When we enter the password for the root user in order to run one program such as ubuntu software center, does that mean that all programs have root privileges for the time being (as the software center is installing the program)?
Slackware13.1, No raid, No LUKs, 160gb ATA HDD. Would like to setup sda1 /boot 512M do i need /boot and / if i put them outside LVMs? Do i still need 'intrid image in Lilo? How do i setup Lilo with this kind of setup?
I've read posts where linux users put /boot, /root, and /swap outside the lvm system but no details as to how they do it? Have also looked at slackware12 lvm howto but there are no details for the setup I need. Previously when I try to setup /boot separate from / I got a setup error saying i had two boot partitions? - if i can get that straightened out then i can follow the reset of the lvm how to.
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"
My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:
# Set to 'yes' to mount the system filesystems read-only. READONLY=yes # Set to 'yes' to mount various temporary state as either tmpfs
The normal user is now in the sudoers group. How can i allow it to install programs using it's own password rather than having to know the super-secret Root-Users password?
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
i booted into linux single mode thru lilo but i can't use any commands in slackware that changes the root account or user account using passwd root command
I've set a side 80GB on a separate partition, I have 4GB of RAM. I know it will ask me to set /home /root and /swap. How much should I set each one to be with my partition size and RAM.
Using 11.04, and just installed mysql 5.1.54 using synaptic
I was following the instructions here and the installation when fine,
except that I never got a screen to set the root password.
When I try to set the password using these instructions, following either
"If you have never set a root password for MySQL" $ mysqladmin -u root password NEWPASSWORD
OR, since the first method failed me, then: "However, if you want to change (or update) a root password, then you need to use following command" $ mysqladmin -u root -p'oldpassword' password newpass
Either way, it fails. Question:
1) why am I not being prompted to set a root password during installation?
2) what can I do now to fix this??
I am trying to learn Mysql, so don't presume I know anything about command syntax (cookbook instructions) For example, the first command above,I tried with with NEWPASSWORD in quotes, and then without. Likewise for the second command.
I'd like to keep root pw==sudo pw==user pw on a box with Code: $ lsb_release -ds Ubuntu 9.10 $ uname -rv 2.6.31-22-generic #61-Ubuntu SMP Wed Jul 28 02:02:56 UTC 2010 Just now it hung going to sleep, so I shutdown via BRS. On cold boot, HD mount failed and I got the prompt to hit Esc to goto maintenance shell. I did that, got the prompt for the root password, and entered my sudo.
That failed! though it has worked before ... but I changed my user password on that box recently, and I'm pretty sure I haven't needed to fsck between then and now. I'm wondering: What do I need to do to set my root pw? I was able to C-d out of the shell, and karmic took care of itself, but I'd prefer not to rely on that. Is there a way to make my root pw always equal my user pw? If so, is that a Very Bad Idea?
i am trying to set the file permissions for the log files "/var/log/Xorg.0.log" and "/var/log/gdm/:0.log". These files seem to be created when a user logs into a whokstation (my guess so far). I am trying to comply with a security mandate that all log files in the directory /var/log are set to 0640. The two mentioned files always seem to have the permissions 0644, does anyone know where and when these filea are created and how I might set the permissions when the files are created
I have system at work I am setting up that runs on linux, it was powered up back in september but we didn't get the details to configure until this week, unfortunatly var filled up with 100% spaced used due to a log file that keeps being written to until its intizilized, I can't just delete the file so (will not be recreated), I pulled it off and took it home and split it into a smaller file (from 740mb down to a 15mb chunk)I'm really just a linux newbie so can someone explain to me what the permissions are on the current file and then what chmod would make smaller file the same. clusternet.log is the orginal and clusternet1.log is the one i made from split. I know its read, write and execute (whats the r write after x on clusternet.log?) but I'm not sure on what it means in the position its in, the clusternet.log should have permissions only for root correct?
Code:
-rw-r--r-- 1 luke luke 16613376 2011-01-06 20:10 clusternet1.log -rwxr----- 1 luke luke 740130816 2011-01-06 06:39 clusternet.log
I'm very new to Linux, i'm running Ubuntu and i'm trying to install a program. In the instructions it says "Check that you ARE NOT root, never run similar tools as root! just change file permissions". How do i check if i'm root or what am I supposed to do here?
I am missing the File menu in many programs (Fedora 13). I found a thread that said this fixed itCode:yum remove gnome-applet-globalmenu gnome-globalmenu-common sshmenu gnome-applet-sshmenubut I did that and (I'm using audacity to test) it said that it was missing gnome-globalmenu. So I did Code:sudo yum --enablerepo=updates-testing install gnome-applet-globalmenu gnome-globalmenu-common sshmenu gnome-applet-sshmenubut now audacity is again missing the file menus.