General :: Disable Security - Enable Through Command Line?
Dec 27, 2010
I am using Fedora 14. By default Security Enhanced Linux is enabled in Fedora 14. Now is there any way to disable it by command line and then again enable it through command line.
View 3 Replies
ADVERTISEMENT
Feb 23, 2011
Enable:
Code:
gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager "compiz-gtk"
Disable:
Code:
gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager "metacity"
Log out and log back in
View 2 Replies
View Related
Aug 14, 2010
Bios is a good recommendation but will that affect the fan speed? I know about the acpi=off option, this does not work properly- even on suse. Maybe noapic would work better? Really is there a cover all command line instruction (for all distros) to turn the annoying thing off? Main problem occurs when watching the telly and the screensaver kicks in, with suze it turns the sound off as well, even after you have re-entered the password
View 1 Replies
View Related
Oct 22, 2010
How to enable Printer in CUPS using Command Line?
View 3 Replies
View Related
Mar 17, 2010
I tried:
Quote:
ifconfig dsl up
ifconfig up dsl
ip link set dsl up
But I think I should have typed:
Quote:
ifconfig ppp0 up
Yesterday I was lost, I updated the drivers for the nvidia card and that broke X, since my internet is not up and running when booted I was wandering how to call it from the command line since that was the only thing I could see.
View 10 Replies
View Related
Jan 27, 2011
Since I wasn't able to figure out how to enable ctrl alt backspace in kde I thought I would explain how to do it from the command line. Open /etc/X11/xorg.conf as root. Then add this to the file.
Code:
Section "ServerFlags"
Option "DontZap" "false"
EndSection
http://fedoraproject.org/wiki/Fedora..._release_notes
View 3 Replies
View Related
Aug 16, 2010
I need to find out a command to enable and disable a secondary monitor using the Nvidia X Server. I've got a monitor attached to my laptop that I don't use all the time and would like to just have a launcher to switch between "twinview" and "disabled" quickly rather than having to go through the menus. It's physical position is vertically above the primary monitor so I have to put in a custom position every time I enable it.
View 8 Replies
View Related
Dec 6, 2009
I was trying to disable selinux via kwrite in the command line but
Code:
su
kwrite /etc/sysconfig/selinux
does not launch kwrite for me. How could I do this?
View 3 Replies
View Related
Feb 10, 2011
I have Fedora 14 with minimal installation (without graphical interface and so on) and the application I've been working needs to be initialized on boot up. So, I need to disable the login prompt (and password) by command line. How can I do it? I've seen by GUI, but with command line nothing...
View 2 Replies
View Related
Jul 15, 2011
How to enable automatic DHCP on Fedora15, in network settings, i chose method Automatic DHCP on IPv4 settings and in proxy settings , i chose method as automatic. However, it is not working.
View 1 Replies
View Related
Mar 22, 2010
I'm having problems with my Nvidia card. X doesn't work after installation (9.10), only command prompt. I've read the instructions at http://www.psychocats.net/ubuntu/nvidia on how to enable Nvidia drivers, but the instructions are only for GUI, which I don't have.
Anyone knows how to enable Nvidia drivers from command line ?
View 2 Replies
View Related
Jun 26, 2010
how to enable remote desktop by command line in 10.4 lucid? The command sudo gconftool-2 -s -t bool/desktop /gnome/remote_access/enabled true doesn't work, because when I open /system/pref/remote desktop, it is still not activated.
View 5 Replies
View Related
Mar 2, 2010
I have installed opensuse on VirutalBox , during installation I said "yes" to autologin as normal user.After installation and restart , it shows follwing message "Logging in Laks ...Cannot enter home directory . using /"I can login as single user by passing "single " in grub.
View 9 Replies
View Related
Apr 7, 2010
I just want to disable rm command for an user..Root only need to use that
View 14 Replies
View Related
Jul 27, 2010
I have a Sony TZ270N running Ubuntu 10.04 splendidly. The Sprint Mobile Broadband works great, but it's a bit cumbersome to activate. Specifically, to get it to work I need to:
echo 0 > /sys/devices/platform/sony-laptop/wwanpower
sleep 5
echo 1 > /sys/devices/platform/sony-laptop/wwanpower
Then I wait another five seconds, right-click on the networking icon, choose "Enable mobile broadband", then left-click on the networking icon, and choose "Connect to Sprint Connection". I do this multiple times a day, and it's just a bit of a pain, especially when in a hurry. Accordingly, I'd like to script it so I can do the whole thing with a single command.
I've already put the above echo statements into a script and it works great; is there any way to script the actual start of the PPP session itself -- with the caveat that I'd like the networking icon to accurately reflect the latest state?
(In other words, I don't want to bypass the networking icon and just launch the PPP session in the background -- I want it to show that I'm connected, and still let me manage the connection via the icon after connected.)
View 3 Replies
View Related
Aug 17, 2010
I'm running Fedora 12, and I need to disable the firewall from within a shell script, which rules out system-config-firewall. I tried the following:
Code:
service iptables stop
service ip6tables stop
chkconfig iptables off
chkconfig ip6tables off
but that didn't do it.
View 6 Replies
View Related
Apr 30, 2009
I have a bunch of mislabeled files among other things but I'll start with this first. as using the command line to fix this issue.
View 5 Replies
View Related
Mar 26, 2011
I am not familiar with Linix server, I have installed ubuntu server for study purpose. Now I am facing problem when I install openssl from command line. This is the error message:
openssh-server : Depends: libwrap0 (>=7.6-4~) but it is not installable E: Broken packages
View 1 Replies
View Related
Jul 2, 2010
To hide the user input to be displayed on screen, use the terminal line setting command stty -echo, whatever the user enters after this command will not be displayed in the screen. to make the input characters get displayed on the screen use stty echo.
View 1 Replies
View Related
May 8, 2011
I'm trying to set up an unprivileged user on some field systems running 11.04 with the standard Gnome shell (rather than Unity), and ideally that user would not have access to the command line. The user can log in through GDM (but not the text consoles) with no password, so I need to provide the absolute minimum of privileges; basically the user should only be able to run one program.
I've already set the /desktop/gnome/lockdown/disable_command_line key with gconf-editor for that user, which successfully disabled the "Run Command" dialog. Unfortunately, even though the description of the key in gconf-editor says "prevents the user from accessing the terminal...", the terminal emulator is still accessible from the Applications menu, and I haven't been able to find a good way of disabling the terminal or removing it from the menu. The only thing that occurs to me is an ugly hack: replace the gnome-terminal binary with another that checks to make sure the user is not the unprivileged one and then starts gnome-terminal.
View 5 Replies
View Related
May 18, 2011
The ability to manually boot using the Grub command-line constitutes a big security risk in Linux, IMO.Any OS can be booted in this manner from a PXE-LAN, USB, or CD/DVD drive, circumventing BIOS-imposed boot restrictions. (Once a foreign OS is booted, of course, it can be used to access any part of an unencrypted hard drive.) Placing passwords or locking menu items (in the Grub configuration files) does not prevent a user from booting manually using commands entered at the grub command-line.
As it stands now, when presented with the Grub menu (or after bringing up a hidden Grub menu with the "ESC" key), a user only needs to hit "c" to enter the Grub command-line mode to facilitate any type of bootup whatsoever. (They can then enter manually the Grub commands to boot an OS on any device.) This is extremely insecure and allows any passerby to boot the computer with a few keystrokes and a bootable USB drive. How do I configure Grub so that it will require a password in order to enter the command-line mode (and thereby restrict boot options to the menu, which can then be password protected/locked) ?
View 8 Replies
View Related
Sep 16, 2010
how to disable/enable easystroke with commands like
Code:
easystroke --enable [--disable]
View 4 Replies
View Related
Dec 22, 2010
How can I Enable/Disable USB port(USB Drives)?
View 1 Replies
View Related
Jun 18, 2011
how to enable or disable wifi on backtrack 5?
View 3 Replies
View Related
Feb 24, 2011
I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:
$ (something) -l 154 stuff.py
150: def foo(bar):
151: """
[code]....
View 5 Replies
View Related
Aug 22, 2011
How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt
View 1 Replies
View Related
Oct 19, 2010
My objective is pretty simple: To have a variable within a bash script where I can switch between logging to file or screen.
Simple example of what I am trying to do:
Code:
So, as you can see, I have a variable which clears the log path if the user variable vLOG is not 'Y'. This should mean the user can run the script from the command line and view all the output (instead of it going to a log file).
The problem is that with the final line of the script (which ultimately tests the intention), I don't get the required result as the vLOGPATH variable is just passed to echo as text.
I have tried using 'echo -e' and getting some backslashes in there, I have tried using eval but I am either using them incorrectly.
View 8 Replies
View Related
Apr 5, 2011
I used ubuntu and recently install Mandriva in to my laptop.I install both Kde and gnome desktop.I like to have kwin effects in kde . But i cant enable Kwin animation in kde and Compiz fusion animation occur in both Kde and gnome.
View 2 Replies
View Related
Apr 29, 2010
i want to disable the su command on a server so that users cant run the su command i removed the comment from the 3 and 5 line in /etc/pam.d/su file but it doesnt seem to work the file is shown below
#%PAM-1.0
auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
[code]....
View 8 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related