Red Hat :: Default Value Of Stay_setuid Flag?
Apr 6, 2010
From the man page for sudoers (RHEL5.4), I notice that the default value for stay_setuid flag is 'OFF'.
In RHEL4.8, th man pages don't specify the default value.
What is (maybe) the default value of 'stay_setuid' in RHEL4 ?
View 1 Replies
ADVERTISEMENT
Jul 19, 2010
What does the mkdir -p flag do? i.e the '-p' part?
View 1 Replies
View Related
Oct 15, 2010
What does the -i flag mean in rm i my_file?
View 2 Replies
View Related
Jan 24, 2011
In another forum (I each day visit a lot of them) a user was stating that you need to set a boot flag to make the root partition bootable, if you create partitions with GParted in order to install a Linux with GRUB2. Another was suggesting that, if you install Linux with GRUB2, the installer automatically sets a boot flag to the root partition to make it bootable (I don't remember the names). I neither believe the first nor the second thesis and I'm hoping that in this excellent forum some Gurus not only are saying I'm right but also give a comprehensive answer.
View 2 Replies
View Related
May 26, 2010
I just bought an Eee Box with Red Flag Linux Desktop 5.0NE. My intention was to use it as a backup server at home to backup files and photos, etc.
How to I get to a graphical user interface so I can start to know what I'm doing?
When I switch on the machine, it says:
Red Flag Desktop 5.0NE
Kernel 2.6.21.0-22 on an i686
localhost login:
View 1 Replies
View Related
Oct 31, 2010
Is the command "ls -d" meant for only listing directories? Because i tried it and it ALWAYS display just a blue dot. If not what is the correct way to show only directories? I.e. MSDOS equivalent "dir /ad".
View 2 Replies
View Related
Dec 1, 2010
I recently install 64-bit OpenSuse 11.3, the first time I'd used Suse 64-bit - I have to say it has been all good so far, which is great. However, today I was experimenting with a tool that tests vulnerabilities which should be remedied if using an NX capable processor. I am running 2.6.34.7-0.5-desktop on an Intel Core i7. I downloaded a 64-bit compatible version of paxtest from :
[URL]
Running it I was surprised to see that the NX capabilities of the CPU do not appear to be honored. Here are my results:
PaXtest - Copyright(c) 2003,2004 by Peter Busser <peter@adamantix.org>
Released under the GNU Public Licence version 2 or later
Mode: blackhat
Linux callandor 2.6.34.7-0.5-desktop #1 SMP PREEMPT 2010-10-25 08:40:12 +0200 x86_64 x86_64 x86_64 GNU/Linux
Executable anonymous mapping : Killed
Executable bss : Killed
[code]....
From my understanding, NX was one of the big deals a few years back and was a main feature provided by the PAE kernel. I would have thought the default 64-bit kernel would have included NX support. I also thought per NX bit - Wikipedia, the free encyclopedia that NX support has been in the kernel since 2.6.8 I looked in config-2.6.34.7-0.5-desktop but did not see anything related to NX/XD config wise, other than DEBUG_NX_TEST What am I missing here? Shouln't this test fail in the Executable [bss, stack, etc.] tests on 64-bit with a NX capable processor?
View 4 Replies
View Related
Dec 18, 2010
yesterday ubuntu 10.04 hanged so i restarted it and i wasnt able to boot again all what i get is a blank screen with a blinking cursor... also windows7 dont boot (hangs during loading) after some googling i was able to boot only in linux by setting the noacpi flag during booting in grub but there was no internet connection (wired connection) i guess that noacpi is the reason ??
what i have tried :livecd: doesnt boot except with the noacpi flag and no internet connection reinstalling grub : doesnt solve the problem replace the power supply : nothing differ
View 4 Replies
View Related
Mar 25, 2011
I found that this tests if a give filename is a directory or not:
Code:
-d "$FILENAME"
But what test for not a directory? I tried
Code:
-D "$FILENAME"
But this doesnt work?
View 1 Replies
View Related
Dec 24, 2010
If /tmp and /dev/shm partitions are mounted with the noexec flag then this prevents someone from executing something in those partitions.
Example:
You will get permission denied
However if you execute that same script like this:
Then the script gets executed which makes the noexec flag useless.
If there any way to prevent this bug/vulnerability?
View 3 Replies
View Related
Apr 15, 2010
I have a created an ext3 partition and when i tried to set is hidden flag, there seems no effect. how to set the hidden flag of an ext3 partition?
View 1 Replies
View Related
Jun 21, 2011
I'm trying to create a shell script to take an argument and use it to name a terminal tab. So if the script's name is tabnm, tabnm "test" should rename the current tab "test"
This is my code:
#!/bin/sh
echo -ne "e]1;$1a"
but when i run it I get this output:
robin@icarus $ sh tabnm.sh test
-ne e]1;test
If I just run echo -ne "e]1;Testa" straight in the shell, the tab is renamed.
View 2 Replies
View Related
Apr 19, 2011
I'm trying a recursive search -- only PHP files -- and yet grep is searching SQL files too.
Code:
sneakyimp@Ubuntu-64bit:/var/www/site$ grep -irl --include='*.php' 'car_images' *
2011_02_11_dump.sql
car_images_pending.sql
client/search_results.php
[Code]....
View 8 Replies
View Related
May 14, 2010
I have an odd thing. And thats the following:
I entered: gcc raw.c -m32 -g -static -o raw
And I got:
I installed all bin32 libs I am on a x64 system.
View 6 Replies
View Related
Apr 8, 2010
I am using Rsync to backup files to a another machine, the users on my fileserver do not exist on the backup server so Rsync throws errors about the permissions. It copies the files fine but I want to get rid of the errors and have Rsync ignore the permissions when backing up.
/backup is a mounted ftp directory
Below is the current command and output:
Code:
root@Fileserver:~# rsync -av --delete /shared/fileshare/ /backup/backup
building file list ... done
created directory /backup/backup
./
manager/ .....
rsync: chown "/backup/backup/manager/.chironfs.txt.c6MbJ7" failed: Operation not permitted (1)
rsync: chown "/backup/backup/manager/.cronman.txt.hdBG4P" failed: Operation not permitted (1) .....
sent 211115 bytes received 274 bytes 7686.87 bytes/sec
total size is 210263 speedup is 0.99
rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]
View 3 Replies
View Related
Dec 8, 2009
For instance I have: openssh-4.3p2-36.el5_4.2
But I know that is 4.4.x. rpm -? openssh
View 2 Replies
View Related
Mar 12, 2010
I have reviewed the HowTo wiki on Setting up an SSL secured Webserver with CentOS [URL], and have successfully set up my server.
We are using the conditional <IfDefine SSL> tags around the <VirtualHost _default_:443> section. I wanted to do this because we are deploying a standard <VirtualHost> section that is appended to the httpd.conf file for several Apache versions on several OS's, and this makes maintenance much easier. Sometimes the server will be configured with SSL support, and sometimes not, depending on certain functions of our application that the end user will require and determine. Our application then determines which mode the server should be run in depending on these functions, what OS is being run, what version of Apache is being run, etc, and starts the httpd server in the appropriate mode. For CentOS 5 with Apache 2.2, if the application indicates SSL is required (and we expect the server to be configured appropriately), then we do the following:
/usr/sbin/apachectl -D SSL -k start
View 1 Replies
View Related
Apr 17, 2011
I would like to mount a disc that was previously used in the Intel Software Matrix RAID array (fake-raid). If I try to mount it I get:
mount: /dev/sdd1 already mounted or tempb busy
I think my dmraid is refusing to mount it beause of some RAID "flag". I would like to get rid of it, but unfortunately I cant do that on my system (theres no such RAID):
[root@ox mnt]# dmraid -r /dev/sdd
ERROR: isw: Could not find disk /dev/sdd in the metadata
no raid disks and with names: "/dev/sdd"
There are several posts recommending to uninstall dmraid completely from the system. Isnt there smarter solution in removing such a flag?
View 7 Replies
View Related
Jan 9, 2010
Little explanation: OEM HP pcs come with an HP_RECOVERY partition which contains an installer which will wipe the HD and install vista (shivvers) Now despite how much I looooove vista, I was wondering why the OS_TOOLS partition shows up in places and recovery doesn't... especially cause niether have a hidden flag...
(As a side note, what the hell does OS_TOOLS do? google yields no answers)
View 8 Replies
View Related
Feb 15, 2010
A week or two ago I installed Ubuntu Server 9.10 on a Intel DG945SEJT-based machine with two WD RE2-drives. I used unetbootin-windows-408.exe to to prepare a USB stick with the 32 bit version of the server version of Ubuntu. The installation went smooth without any problems.
Now when I'm trying to do the exact same thing to an almost identical server (larger HDD:s) I can't change the bootable flag to "on" on the physical raid partitions I create to host /.
I use the the following partition scheme: 10 GB /, 4 GB swap and the rest as /home. They're all on software-RAID1. Last time I did this (and many times before that) I was able to set the flag to "on".
When I press enter it just shows "updating filsystem.." etc. for some second but then nothing happens, the parameter is still on "off". This causes the whole installation to fail in the end due to an error when installing GRUB -> "can not install grub in /dev/sda "fatal error"".
My only conclusion is that the installer downloads some new files from the internet which causes this problem, as I said - nothing else is different except the harddrives (WD RE4-GP).
View 5 Replies
View Related
Mar 10, 2010
I want to append data to a file where immutable flag is set..So i have tried this command chattr +a file_name to append data..But i am unable to append the data..
View 7 Replies
View Related
Sep 6, 2010
Well I currently have a windows partition currently formatted as ext3 which has the partition flag bootable (It previously had Windows Vista on it). I also have a windows partition with NTFS filesystem with Windows 7 on it which is not bootable because the previously mentioned partition became formatted by me. And I also have more partitions for Ubuntu, which is currently the only OS working.
To show it visually: [URL]
So my question is can I delete the partition called "Inter" and recreate a new partition and format it again with ext3? It has the partition flag bootable, won't I loose all of the partitions this way? It's also the primary partition? Is there a big risk?
View 2 Replies
View Related
Jun 2, 2011
I just installed windows 7 and ubuntu stopped booting even though it was still there, so I thought I would just change the partition flag to boot. I found out later that I had to create a new mbr but after I changed the boot flag, windows 7 stopped booting and I tried changing it back, but it didnt work. So I was wondering if i didn't use the correct flags or is there another way to get windows 7 to boot again? I was using GParted to change the partition flags and that i am using windows 7 ultimate 64bit
View 1 Replies
View Related
Jun 15, 2011
I've installed MongoDB and I want init to start the database with the --journal flag. I'm quite rusty on how init works, but I know it involves the /etc/init and /etc/rc directories.I've found /lib/init/upstart-job and someone in the chat is suggesting that I just edit that bash script, but I can see it's involved with more than half the system service, so I'm a little hesitant to edit it. In fact, I'm pretty sure if I followed that advice I'd really screw up my system and then the person "helping" me would just stop responding.
View 1 Replies
View Related
Aug 4, 2009
I installed cygwin with rsync on a Win XP Machine. My goal is to backup a folder from one hard drive to another (both on XP machine).
I run the following command from a batch file:
Works fine except the --delete flag is not working. Copies everything in source to destination, but doesn't delete some extra files that are present on the destination, but aren't on the source, which it's supposed to. I looked at the rsync man page, and I'm doing everything right... such as not using wildcard.
The same command works perfect on another computer (XP machine; source and dest both on XP machine).
View 1 Replies
View Related
Jul 24, 2011
i would like to create a script that calls a command with a flag....
/usr/bin/wget
calling
"curl -O"
[code]....
View 1 Replies
View Related
Jan 19, 2010
We have started using ACLs on our fileserver and we are having a problem with getting Samba to behave correctly. When we create a file in Linux, the permissions and ACLs are set correctly. Files are set to 640 and directories are set to 750. However, when we create it in Windows through Samba, regular files are being set with 650 and directories are set to 770. It's adding execute on files and execute+write to directories for groups.
View 2 Replies
View Related
Nov 4, 2010
Is there a flag for the cvs command to check the latest tag of a certain package
View 1 Replies
View Related
Dec 19, 2010
I have an nVidia radeon x1300 series running on my suse 64 bit system. The problem is when I try to enable dual head it tells me that I dont have enough virtual memory so when I add the: Virtual 3840 1200 under the screen section it works for a couple of minutes and then bom! it freezes up no mouse no keyboard response and the screen gets all distorted. whats odd is that I can still ssh to the system. The following is my current xorg.conf without the Virtual flag.
Code:
# /.../
# SaX generated X11 config file
# Created on: 2010-12-19T10:38:36-0500.
[code]....
View 9 Replies
View Related
Dec 13, 2009
I had my BIOS complaing that there were no OS. (worked since releaseday of 11.2).
partition setup:
sda1 : primary : swap
sda2 : primary : ext3 : Kubuntu
sda3 : primary : ext3 : opensuse (flagged as bootable)
sda5 : logical
sda6 : logical
opensuses GRUB is primary and Kubuntus is chainloaded.
The problem occurred after I tried to boot kubuntu for the first time since I installed opensuse. Kubuntu didn't boot. so I probably set up chainloading wrong. No big deal, this I can fix.
The big problem was that after trying to boot Kubuntu no OS was marked as "Boot" in MBR. This is VERY strange. somehow the boot-flag is removed!
After setting the boot-flag (with a live-CD) everything works again. I can reproduce this.
I've tried to find answers but could'nt find any.
Is GRUB supposed to remove the boot-flag when chainloading? have I found a bug?
View 9 Replies
View Related