General :: Launch Root Console With A Profile Loaded ?
Dec 31, 2009
I'm trying to launch a root terminal with a profile preloaded, but I'm not yet used to the way gnome handles its syntax, so the default link to root terminal:
Code:
Apparently, the method using gnome-terminal is to add a trailing
Code:
But this did not work, probably because in this case I'm not calling directly on gnome's terminal.
I'm trying to launch a root terminal with a profile preloaded, but I'm not yet used to the way gnome handles its syntax, so the default link to root terminal has me confused:
I've been handed the role of looking after my company ftp server which is running redhat. I've logged on as root & have somehow lost all of the menu items from the grey toolbar. All i now have on the desktop are the disk & partition icons. I haven't changed / added anything, just logged on to the box. The only way i can log out or reboot is to press in the server power button which cannot be right ? Is there anyway of making the menu options visible so that i can at least familiarise myself with the O/S ?
I added a directory to the $PATH variable in /etc/profile. This works for my user account but not for root. It's easy to add it to my /root/.bashrc but I would like to understand whats's wrong. It's a widely unmodified Debian 6 so I think my changes should do the trick.
Here is what my /etc/profile looks like:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ "`id -u`" -eq 0 ]; then
[code]....
Edit: The path I added is the distcc-stuff. Here is what echo $PATH tells me:
In kdesvn there is the Subversion->Ceneral->check out repository and there is also the File->open,
1) what is the difference between these two?
2) Also is there a way every time I launch kdesvn to have the same repository loaded in the same working directory?
3) When I change something into a file should I do file or whole folder commit? I am not sure what will be the best based on that I only write one comment which in the first case associates with the file only and in the latter associates with the whole folder.
I have successfully customized linux (CentOS distro) using kickstart and custom splash screen. I havent added/installed any desktop (gnome/kde) package in my custom distro. So obviously after installation the linux will start in console mode.
My requirement is i have to add a custom gui which basically provides 1.product information 2. product agreement and 3. product cd key. My custom linux do not need a desktop, and just for my custom gui i do not wish to install all the desktop packages. Sitting with a blank slate if you know what i mean.
I scan a document with root pressing the scanner button. I would like to send an email using my gmail account. OK. nothing difficult with that... mbsmtp + mutt for sending trhough the sh script.
1-root is to be avoided at max to do some internet duties, due to security. Apt-get is good, but ok surfing or email sending shall be avoided for higher security.
2- sudo or su running mutt through this way, ok, using an existing user. OK, possible and simple, but not comfortable since you have to use an account of an user existing (create a new user for scanner and email?? - no, come on, we have linux and can maybe find a solution)
how to send an Email from root console using an non created USER?
I can do su - and then type in my root password and then change users, but if I try to log in to the root profile, the same password doesn't work. What can I do to reset the root profile password?
I'm trying to get Xorg running on a Dell 2850.I can't get it to work.I installed xorg-x11-drivers via yum, and used both "Radeon / ati" drivers, including the default vesa.
Here are the main errors (error log file attached):
Could not init font path element unix/:7100, removing from list! (**) RADEON(0): RADEONSaveScreen(2) localuser:root being added to access control list No profile for user 'root' found
[code]...
and at the end it says:
FreeFontPath: FPE "built-ins" refcount is 2, should be 1; fixing.
Old windows user finally real tired of them.. Kudos to Fedora 13 as the only popular Linux OS available for us frugal folk that embraced proprietary hardware on my old pukey hp pavilion laptop dv4000 wi fi card.Sad to report massive issues after allowing some 330+ updates to possibly infect this great OS. I'm currently running this 'Live" so I'm staying brief. My strategy will be to not allow any updating until I'm sure they are trusted and or needed, as this is the chosen OS, and I pledge to be moe involved as I try to figure out where or why this initial install went way south
I was under the impression that /etc/environment was the place to put variables if you wanted them to be available to all users at all times. But I just realized root which is running my service processes doesn't seem to load it.My /etc/environment:
After I installed luckyBackup, two icons were added to the 'More applications' window. The first one launches luckyBackup and works fine. The second one is called 'luckyBackup (super user mode' and is supposed to launch luckyBackup with root privileges. However nothing happens when I click on it. I see that the associated command is 'su-to-root -X -c /usr/bin/luckyBackup'. Typing that command in a shell results in an error as su-to-root does not exist. So... is this syntax ('su-to-root -X -c /usr/bin/luckyBackup') supposed to work, or shall I edit it (how?) in order to be able to launch the application as root?
I use Firestarter, seems to be a good firewall. But it is a desktop/GUI application, and it requires root access, or rather sudo in Ubuntu. Every time I launch it, I am required to type in my user (not root) password. How can I make it run automatically at startup (KDE) without prompting for a password?
I am afraid to ask with so many things changing around in each new release.Where would one add a custom script to execute when logging and shutting down in into a user profile like /home/test or /root ?would this be rc.local?
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.
openSUSE 11.2, just installed. When I start the "Root Terminal", I get this error message: Could not launch 'Root Terminal' Failed to execute child process "gksu" (No such file or directory) This error message doesn't mean enough to me to know what I need to do.
In a computer, the brightness can't be changed with the fn key (and the brightness starts at 100%) :S I can set the brightness with this command from a shell: sudo setpci -s 00:02.0 F4.B=25 In Ubuntu 10.04 worked set this command in /etc/rc.local But in Ubuntu 11.04 I did this, but it didn't work. In which file can I set a root command in the boot in Ubuntu 11.04?
I am attempting to launch kate via kdesu as well as from the command line and it fails both times. I have (after the first failed attempt) coppied my .kde folder to /root and still am not able to launch it (it works fine under my login). The following is what I get after removing my personal .kde folder from root and launching kate: kate(16689): Session bus not found
KCrash: Application 'kate' crashing... sock_file=/root/.kde/socket-debian/kdeinit4__0 Warning: connect() failed: : No such file or directory KCrash cannot reach kdeinit, launching directly. drkonqi(16694): Session bus not found
I've already gotten into the .mozilla folder and found the profiles.ini file. My windows XP system has it's Documents and Settings folder on a seperate drive (D:Documents and settings) And I've located the profile (application datamozillafirefoxprofiles) Now all I need to do is put the path into the profiles.ini file in the .mozilla folder in Ubuntu. The problem is I don't know exactly how to format it.
In windows the path is:
How would I translate this into something ubuntu "follows?" I already have the profile name changed as well.
I have a java program that needs to be launched with root privileges (from an account that doesn't have root privileges) from a desktop shortcut. The command would look something like this: java -jar /file/location/whatever.jar I've searched and searched and can't figure out how to do this. EDIT*** I would like it to pop up and ask for the root password before it launches the application.
Reinstalled Debian Squeeze (64bit/gnome) on my Notebook using Netinstall. Everything worked like always but in the setup instead of typing in a root password as asked to i just pressed enter (in the hope of not having to type in a pw in the console later, just having to press enter then)
When i needed rootpw to install some software (using SoftwareDownloader) the normal loginpw seemed to work, but not in the console. ari@HP625:~$ su - Password: su: Authentication failure
I wanted to disable root logins in console, so I searched for that. I found that if I change root's bash to "/sbin/nologin" in "/etc/passwd", root user will not be able to login. So I did that. But when I wanted to use sudo command, it didn't show me root bash, but it only do the same thing as logging in as root in single user mode (shows message that this account is disabled). So, how I can disable root logins, but keep enabled sudo command for standard users?
my linux system doesn't have X only console login possible. i would like to deny all user to login from any sources, local machine, remote console (putty, winscp) etc. except root.
i've found something about /etc/security/access.conf and i've put:
+ : root : ALL - : ALL : ALL
but still users other then root are able to login (via putty for example).
I can login as root in to Gnome and ssh but not in the console In fact I can login with anyuser in to Gnome and ssh but not in the console. By the console I'm referring to tty1-tty6. When the login screen is showed I write the user and password but then a message is quickly(I can�t see it) showed and erased and the login screen is showed again I looked the file /etc/security/access.conf but all the entries are marked as comments. I also looked the file /etc/securetty and this is the content:
console vc/1 vc/2 vc/3
[code]....
I even can use "su" with root with no problem. The next entries are written in the /var/log/audit/audit.log file everytime I has this error: