Running NFS on Fedora 10. Exports fine. I tested it locally. I tested the NFS configuration by trying to access the exported directory from my local machine, before testing it from a remote machine. While logged in as root, I created a new directory "/mnt/nfstest".
Then I mounted the NFS share at the new directory I created: [root@eric root]# mount -t nfs localhost:/mnt/nfs /mnt/nfstest
When I tried to mount on the remote client: [root@frank root]# mount -t nfs eric:/mnt/nfs /mnt/nfstest
After a while I got: # mount eric:/mnt/nfs /mnt/nfstest mount.nfs: mount system call failed
I tried strace but wasn't sure what I was looking for, but I've attached the results as a .odt file.
The question is, as far as I know Ubuntu distro adds a user created with useradd to supplementary groups automatically. For instance, I want to enable sudo for all newly created users on my LiveCD and want them to be added to the group 'wheel' on creation. I'm sure it is possible to do it in Fedora, but how?
We are running Oracle 10.2.04 RAC on Red Hat Linux 5 and when ever our SAN storage admin created new LUNS we have to reboot the servers so that server can see newly created LUNS. This causing downtime to our application. How we can add LUNS dynamically without rebooting servers. We are using device mapper mulitpath from red hat version 0.4.7-30.el5 and we have QLOGIC HBA's.
i've written a bash script to add new users to our system. the script works so I won't bother you all about that. when a new user is created with it, they can immediately login to our domain from any terminal, which is good. However, the newly created user is unable to login to debian at all, and so cannot access the server. when attempting to do so, they get a message like "the system administrator has disabled your account". This is a good thing really as normal users have no need for debian login, but I do need to add a few admin users who will need direct access to the server machine.
This is the code I'm using to add the user. The rest of my script is just a wrapper and GUI. I figure the login shell may have something to do with it, so I tried changing the shell of a user to the default /bin/bash. This resulted in the user being able to login - sort of. Gnome doesn't load though, and there's a cascade of errors across the screen about things failing to save or load settings. mostly stuff like nautilus, X, and gnome. the desktop background is black and there's no interface. Logging in with a previously existing account works fine though. Clearly I have an issue somewhere.
I have an Intel setup with 64bit Ubuntu. I have an NVIDIA graphics card. When I used compiz, I found that my mouse would follow newly created windows. (e.g, I would bring up terminal and if I hit F1, the mouse would move to the upper right of the screen by itself. I have since turned off compiz which resolves the issue. where I can turn it off/on.
I just created a LUKS filesystem following these instructions. Everything seemed okay at first. It mounted with no problem and I moved some files there. I then unmounted it and remounted it to see if I would need to use a special command. It mounted right away and even allowed access to normal users. So, I rebooted to see if anything would change. Before I go on I should say that my partitioning scheme is weird. Not knowing any better I 'upgraded' to 11.04 when my update manager told me a new version was out. This didn't go well and I had to do a fresh install to put 10.10 back on my machine. After this the way it partitions the drive has been weird. What I had was /dev/sda1 which has my installation on it including /home. But, where it gets weird is /dev/sda2 would not manually mount. Looking at the disk in gparted it showed /dev/sda2 THEN under that, as if they were sub partitions or something, I had sda6 and sda7. I had been using 6 and 7 for various things and they mounted fine, so I decided to encrypt 7. After reboot I only have sda1. Everything else shows up as unallocated and ever way I try to mount I get device does not exist.
I only did the procedure for sda7 but 6 has been affected as well. There is no longer a sda2 the way there was before. This always bothered me anyway since I wanted sda2 for my /home but it wanted to call it sda6 and put it under sda2 like I said, I could never fix that, now this.
i am facing a problem regarding permissions. how can i set 775 permission for all newly created files and folders. when i give chmod -R 775 /data permission is getting to all files and folders. but when i create a folder i wont get that permission. i want this 755 permission should be permanent for all old and newly create files
I just want to know how the default size of a newly created file or folder is 4.0 kb.Does this value is mentioned in any configuration file,if that is the case can we edit that file and can we change this default value.
I just maked an ext4 partition by the help of gparted. Ubuntu is my only OS no dual boot. Using Ubuntu Maverick. The problem is partition must be open as root to do any work else it wont even allow me to open file,create folder,cut copy paste or anything.
CentOS 5.4 install, likewise open standard install (For active directory authentication).I have a license service which requires a license.txt be in the users home directory.The group owner for license.txt must be the same as the license service. Whenever a new domain user logs in, it creates the all the appropriate files but the group owner for license.txt is the users domain group. My current workaround seems like more effort than it's worth, is there another way to get this process solved easier/more secure?
- copy the license.txt into /etc/skel
- created a script to check for the presence of license.txt, check it's permissions and change them if necessary
- gave the domain's group sudo [nopasswd] access to the script (the script is not writable)
Using C++, I want to process sub-folders on my home folder sequentially each with a special naming format and containing some binary files in it:
Code: 1/ 2/ 3/ 4/ 5/ 6/ ...
Give above folders, I will process files in 1/ at first, 2/ at second, 3/ at third, and so on.
For some n/ folder, if I realize that n/ actually does not exist in local file system, I do not want to wait for it. Hence I will keep processing (n+1)/ folder, and so on.
However, when processing some (n+m)/ folder, previously not processed n/ folder may have been created on local file system. In this case, I do not want to miss processing it, but somehow detect its creation and process it. After processing n/ folder, I want to continue from (n+m+1)/.
I have been working with ssh for a long time without problems but suddenly, without any changes to the configuration, I am facing problems. When I try to login I get the following message and the connection is closed:
Code: Unable to get valid context for tanwald I ran SELinux in permissive mode and found the following logs:
I have several directories, each owned by root and a group of the same name,By setting the sgid bit, I made sure that newly created files and directories are owned by the correct group, and that directories have the sgid bit set too.On each newly created directory or file, the permissions are set to 755. This is because this is the default umask, and I cannot change a users umask. I actually only want files created below a particular directory to have group write access, inheriting this behaviour to newly created directories properly.I'm not on samba or NFS, I have to do this for SSH users.The filesystem is ext3.I started to fool around with ACLs, but couldn't find what I was looking for.
I looked for a little and everyone's problem similar to this it seems they are tunnelling for a vnc server of some sort. I am just running ssh and it fails not only from the machine, but also remotely. The username "lee" is in group "sshusers"I have two machines setup the same, as to my knowledge. In one server I can access ssh and everything works well but when I try to ssh into the other one it gives me this
I need help about the error in my website. I have the following error....
Code: user warning: Got error 134 from storage engine query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'theme_registry:database1' in /var/www/html/web/includes/cache.inc on line 26.
I've setup an NFS share on my Fedora 15 host of which Google'ing told me that it had changed radically from the old NFSv3 config. Ie. no more /etc/hosts.allow or /etc/hosts.deny files.....My current setup is this..../etc/sysconfig/nfs:
just installed Fedora 15 on my system alongside Ubuntu 10.10 on My 500 GB hard disk.However on starting the computer the Fedora 15 partition gets loaded automatically. How do I access my Ubuntu 10.10 partiion? I want to have a choice at start-up which OS to use. On my previous computer when I used to have Windows and Ubuntu,a menu used to appear asking which operating system to load.
I have installed SUSE yesterday.Everything has been fine except two.1. I can't access my hard disk drives. It says it need to install online some software for it but it can't.I am attaching a screen shot of the error I encounter.2. I have Ubuntu installed in another disk drive but in the Grub menu there in no option to boot to Ubuntu OS.How should I change the text in 'menu.lst' to solve the problem?
I suspect this is a 'new Grub' problem. I installed OpenSuse 11.2 from DVD into one (sda10) of several partitions (the others containing other operating systems):-
/dev/sda1 * 1 63 506016 6 FAT16 /dev/sda2 64 4865 38572065 5 Extended /dev/sda5 64 960 7205121 7 HPFS/NTFS /dev/sda6 961 1859 7221186 83 Linux /dev/sda7 1860 2759 7229218+ 83 Linux /dev/sda8 2760 3026 2144646 82 Linux swap / Solaris /dev/sda9 3027 3924 7213153+ 83 Linux /dev/sda10 3925 4865 7558551 83 Linux
I use NT Boot Loader for the multi-booting on the basis of chain-loading the boot sector of Linux partitions. (It is not destroyed by MS re-installations; and is actually very easy to use). I also have an older Grub shell boot floppy which can do likewise:- root (hd0,x)chainloader +1 boot FWIW I found the disc partition & boot loader parts of the installation a nightmare. Difficult to know what it is going to do; and I am sure it *did* fiddle with parts I asked it to avoid. Horribly, it did *not* make me a dedicated Suse boot floppy like I checked. (This is always the safest boot option for a new install: it leaves the present boot system intact, and provides an independant way of loading your latest. You can refine things later). I had also checked to have the boot sector on the *root partition*.
I have never been able to get into the Suse. NT Loader does not like the partition boot sector. Nor does (an older) Grub from its boot floppy. I have tried the DVD in 'system repair' mode, when it finds things wrong and corrects them, same next time... It offers a way of directly booting a selected system; that did not work.
Any suggestions? I can provide more precise error msgs, but it is tedious; and system repair from DVD dicey. I feel that *the partition boot sector is not being properly set up*.And I want to be able to make a dedicated boot floppy; how? I have an identical problem with Ubuntu, which makes me think it is related to the 'new' Grub.
On my system (Ubuntu 9.x -> 10.x) I have always had the problem of not being able to select the edges of a window in order to change the window size. It seems that the 'hot' zone, which defines the window border selection area, is only 1 pixel wide. I find it very difficult to position the mouse pointer over this zone. Even if I am successful (which usually takes more than 20 tries), as soon as I begin to depress the mouse button, the merest movement causes the pointer to move off the 'hot' zone - and selection fails. The only work-around I have found is to select a corner point of a window -which seems much less sensitive - and then drag the window border in either a vertical or horizontal direction, rather than diagonally. But this is counter-intuitive and unsatisfactory.
On a Debian Linux box, SVN Server is installed. In the partition where SVN was installed, Free disk space is causing anxiety, hence started creating new instances in a new partition, though I am able to get the first screen (it prompts for username and password), I am unable to login even though the username and passwords are correct.