SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
and what about the other question:
writing to a ntfs harm windows xp?
Well, I can't speak for the long term since I just set this up, but in the space of the time it took to do the set up and to test it, I created directories and folders on both NTFS partitions on one machine, and one on another. I also deleted said directories and files, and moved some directories and files around.
Once this was done, to insure nothing bad had happened, I booted into the Windoze installations (Windoze 2000 and Windoze XP respectively), and the chkdsk utility didn't come up telling me that there was NTFS corruption. The files and directories were visible and deletable under Windoze as well. Therefore, I have to think that there is no more danger in writing to an NTFS partition using FUSE and ntfs-3g set up as I described earlier than there is doing the deed in a native Windoze session.
While researching this, I found only one caveat. At the ntfs-3g web site, there is a warning that states...
Quote:
Make sure that the basic Linux development tools and the full FUSE package is already installed correctly on the computer. Please note, FUSE 2.6.0 or later is required to guarantee full data safety... (emphasis added by Pappy)
Considering this warning comes on their web site, I'd think that the folks at ntfs-3g know what they are saying. Fortunately, at the time of this writing, the current stable version of FUSE is 2.7.0. So far, so good; everything appears to be working normally.
EDIT! Since the time of this writing, I have also installed this set up on my new laptop, which runs Slack-11. Therefore, I can only conclude that it works as well on Slack-11. Cool!
EDIT 2! For those interested, you can activate FUSE support directly by compiling it into your kernel. FUSE support has been a the kernel option since version 2.6.14-rc1. To activate it, use your favorite kernel configuration program, and set the "File systems-->Filesystem in Userspace support" option to "module". Recompile and install your kernel. Also note, you will still have to install FUSE for the library file libfuse, but you will only need to do it once, instead of every time you recompile your kernel.
Blessed be!
Pappy
Last edited by pappy_mcfae; 11-14-2007 at 01:36 PM.
Reason: new information
Thanks for that. Very disappointed by the fact i have to edit config files in /usr, they all are supposed to be readonly. All config files are to be in /etc. Is it Pat's fault?
Thanks for that. Very disappointed by the fact i have to edit config files in /usr, they all are supposed to be readonly. All config files are to be in /etc. Is it Pat's fault?
No, it's not Pat's fault. If anyone is at fault, it's the individual who gave that advice.
Place the modified file in /etc/hal/fdi/policy/... -- that location overrides /usr/share/hal/...
The intent is to ship defaults in /usr/share/hal/, and if the sysadmin needs overrides, then use /etc/hal/
Also, I seem to recall somewhere in this thread about partitions in /etc/fstab of type ntfs-3g not mounting automatically if they're supposed to -- this is due to an oversight in /etc/rc.d/rc.M
It appears that at some point in the 10.2 --> 11.0 development cycle, the "mount -a" in there was removed while making other changes. Most people don't notice it, as nfs and smbfs filesystems are mounted in /etc/rc.d/rc.inet2
Anyway, to remedy this, add the following line to /etc/rc.d/rc.M after the call to /etc/rc.d/rc.inet2:
Code:
mount -a -v 2> /dev/null | grep -v "already mounted"
Can you add /home/usr to the /etc/group - so that the particular user has permission only from their home/user directory (ie. Console)? Now I am new to command line configuration and using Xfce and did not install kde. Since I did a full install do I have PyGTK installed? I have read man usrmod but could use a sample of syntax:
# usrmod -a -G power :x:84: tonyChange existing user tony primary group to /etc/group
# usermod -g /etc/group tony --is this correct before I mess up my files? I found this in some FAQ. Thanks for your work rworkman. I
Last edited by NightSky; 09-21-2007 at 01:32 PM.
Reason: edited /etc/group manually... thanks
by the way it's the vmlinuz-generic-smp-2.6.21.5-smp under slackware 12 with the latest patches from slackware.com applied.
feel free to enlighten me...
- perry
Okay, here's for your enlightenment: Slackware does not patch kernels it releases with; there have been no patches, nor will there be, to the Slackware-12.0 release's kernels.
I recently got this working, so I'm going to summarize what I did, since some people said they were confused with the original post.
I want to make this a simple as possible so anyone can fix this problem easily.
Steps:
1) Login to root:
Open a terminal, like rxvt or konsole or Terminal, then run the following commands pressing <Enter> after every line. Note that if a line begins with a # then it is a comment and you should not type it but instead take note of what it says.
Code:
su
# type in your root password
you should now be running as root
2) As root run:
Code:
for group in floppy audio video cdrom plugdev; do gpasswd -a $USER $group; done
this will add you to the right groups
3) As root run:
Code:
/etc/rc.d/rc.messagebus reload
to have d-bus recognize changes made to your group status
Everything should work right now.
OPTIONAL) This step is optional and only if you want to specify where things should be mounted.
Edit '/etc/fstab' to for example:
Code:
/dev/cdrom /mnt/cdrom auto noauto,users,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,users 0 0
/dev/sdb /mnt/zip auto noauto,users 0 0
Note that here you are allowing users to mount these devices, you can use 'users' or 'user', and you can also add the 'rw' option, to have it mount the media read-write, but I think the default is mount read-write, that's why you only need to specify 'ro' read-only for the cd-rom drive.
Last edited by H_TeXMeX_H; 04-05-2008 at 04:09 AM.
# NOTE: do NOT run this, it's dangerous, see one post down
useradd -G users,floppy,audio,video,cdrom,plugdev $USER
where $USER is you, here obviously you're adding yourself to these groups. What's neat is that if you just use 'su' to login to root, $USER is actually equal to your user, not root.
I just tried this on my newer machine and it did not work. It said the user already exists, which is true, but it's also true that I'm not trying to add a new user, only to change the groups. To fix it I had to manually edit '/etc/group'. There must be a better way, but if not, this works.
Last edited by H_TeXMeX_H; 11-13-2007 at 03:15 PM.
I just tried this on my newer machine and it did not work. It said the user already exists, which is true, but it's also true that I'm not trying to add a new user, only to change the groups. To fix it I had to manually edit '/etc/group'. There must be a better way, but if not, this works.
That is because the command is wrong (dangerously so!).
The correct and safe set of commands to add your user to these additional groups (if you do not want to edit the /etc/group file manually), is
Code:
gpasswd -a $USER floppy
gpasswd -a $USER audio
gpasswd -a $USER video
gpasswd -a $USER cdrom
gpasswd -a $USER plugdev
If you are compiling your own kernel and have "Enable Paravirtualization support" built into it or as a module, the nVidia Installer will fail in the module compile (wish I had some output for you, but I'm not at my computer at the moment...)
Used: Comp #2 (neo-thunderball), Slackware 12.0 (CD ISO version), Kernel 2.6.21.5, and nVidia driver installer 100.14.19
If I'm not mistaken, the standard (normal, proper) way to add users to groups is using the command "vigr" as root. When I've done this since Slackware-9.1, there have been none of the problems discussed in these posts. Issue "vigr" and you see something like this:
I have read this all this thread and would just like to clarify my understanding of two points:
Quote:
Originally Posted by pappy_mcfae
-- I think it's a good thing to let those people, and everyone else here know that they need to have smp support compiled in, and an initrd.gz file to get everything going as expected under hal.-----
Pappy
1.)That 'smp support' needs to be compiled into a custom kernel even when a uni-processor cpu is used? If this is really so, then HAL would not work with kernel-generic-2.6.21.5 supplied with the distribution would it?
2.)That an 'initrd.gz' file is needed to get HAL working even when using 'ext2' and support for this filesystem type is directly 'built-in' to the kernel?
If these are both true, is there any logical reason why these should be so?.
Bill.
Last edited by Toods; 01-12-2008 at 02:19 PM.
Reason: addition to posting text
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.