|
spfdz posted:Couple questions about win/nix sharing. in /etc/fstab: //host/share /mnt/share smbfs username=user%password,uid=1005,rw 0 0 or mount -t smbfs -o username=user%password,uid=1005,rw //host/share /mnt/share The uid option should be the uid of your general user, as real permissions can't be used.
|
# ¿ Mar 28, 2007 13:15 |
|
|
# ¿ Apr 28, 2024 17:46 |
|
Digital Drifter posted:
You'd probably be happier with something a little more mainstream that has a lot of eyes on it -- ubuntu or debian are obvious choices.
|
# ¿ Mar 29, 2007 12:46 |
|
CUMGUARD posted:Hi, I�m pretty new to Linux, and I am running the latest non-beta version of Ubuntu (Edgy, I think?). I am on a campus network and I have a couple of network drives that I need access to. I found instructions and used smbmount while logged in as root, but I cannot change the permissions on the folders to allow myself read/write access when logged into my account. Even when logged in as root, I cannot change the permissions. Is there any easy way to fix this? Im not afraid of using the terminal, but I am pretty new to this, so it would really help if any advice could be as simple as possible. Thanks! You can only set faux permissions when you mount with the following options coming into play: uid, gid, dmask, fmask. If you have a single user who needs to write to the share, find out his userid and add uid=nnn to your mount options (you're probably already passing some options via -o foo=bar) These are documented in the smbmount manpage
|
# ¿ Apr 4, 2007 23:45 |
|
hallik posted:hopefully this is the right thread. I am trying to search all files in a directory for a certain string within the files, tell me the file name and line they are on. This only gives me, (standard input): Line#:string Only more sees the filenames. Reverse the order of the commands? grep -H -n tz | more
|
# ¿ Apr 9, 2007 01:59 |
|
SnatchRabbit posted:makefile - That makefile has no redeeming qualities -- it wasn't written by a clueful person, so don't expect much out of the code!
|
# ¿ Apr 17, 2007 01:45 |
|
Mashi posted:How do I use smbmount without specifying a password every time? I'd like to be able to either map a linux user to a specific set of windows creditials or have samba read the password from it's /etc/samba/private/smbpasswd file, so I only have to specify the username. Is this possible? You can specify the options for these shared directories in /etc/fstab using the options from smbmount manpage (user=foo%bar,uid=1000,...) You can then mount it by just passing the mountpoint to the mount command
|
# ¿ Apr 17, 2007 01:46 |
|
Mashi posted:I'm looking for a way to mount the share without keeping a plaintext password anywhere. Both of those files store 1-way digests of the password -- your password can't be extracted from it and sent to the remote system. You can stash your password in a file with the credential= option, which you can protect more then /etc/fstab
|
# ¿ Apr 17, 2007 02:54 |
|
Jo posted:Is there a way to permanently change my hostname in Debian 4? Set from /etc/hostname during startup. See /etc/init.d/hostname.sh
|
# ¿ Apr 22, 2007 02:31 |
|
GeneralZod posted:KTorrent (KDE) I'll endorse ktorrent too -- handy systray thing to move max UL around, dead-simple otherwise. And even dcop control over max UL covener fucked around with this message at 20:24 on Apr 29, 2007 |
# ¿ Apr 29, 2007 19:57 |
|
DEAD MAN'S SHOE posted:fuseiso isn't being terribly nice: Both of your problems come from your userid not being in the fuse group, and whoever packaged your fuse-utils/kernel decided that's how they'd control access. (fusermount is probably setuid root but only group-executable / owned by group fuse)
|
# ¿ May 7, 2007 14:00 |
|
Crush posted:Why are fonts so sexy in Firefox for Ubuntu, but are so ugly (and jagged) in Firefox for Gentoo or FreeBSD? Look for differences between code:
|
# ¿ May 20, 2007 01:10 |
|
Jorenko posted:
Maybe an ubuntu cousin of http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420174 if you move up to xserver-xorg-core 2:1.3.* edit: Bug suggests taking the time to register and vote for the bug here: http://ati.cchtml.com/show_bug.cgi?id=609 covener fucked around with this message at 20:46 on May 27, 2007 |
# ¿ May 27, 2007 20:42 |
|
DjLizard posted:(/bin/login vs. getty) Have you checked this setting: code:
|
# ¿ May 28, 2007 03:46 |
|
twinxor posted:and because it's open-source you're not bound by any licensing stuff. Oh come on... Smegmatron posted:Do they actually offer ISOs of the enterprise stuff? I don't believe these are offered for free.
|
# ¿ May 28, 2007 14:49 |
|
Twinxor posted:and killing a process generally kills its children, you can probably guess why that is. Generally that isn't the case, children don't care about their parents dieing -- their ppid is set to 1 (init) and init knows to wait() for them.
|
# ¿ Jun 2, 2007 13:51 |
|
Leathal posted:That's retarded, I thought X11 had a universal clipboard. In Windows I can do Copy Image in Firefox and paste it into just about any program that handles images, from Photoshop to Nero Cover Designer. Relatively recent developments in standards and higher-level toolkits are helping, but this kind of interchange hasn't traditionally been a focus for X11 apps.
|
# ¿ Jun 10, 2007 14:52 |
|
Leathal posted:That's a shame. I really miss little things like being able to drag and drop files from a zip archive to the folder I want to put them in. FWIW seems to work between ark (kde archive tool, like winzip or file-roller) and konqueror (file manager/browser)
|
# ¿ Jun 10, 2007 16:36 |
|
decypher posted:How do you linux goons with iPods update your iPod? Is there a package that allows you to safely mount and unmount your iPod similar to how iTunes does it in Windows/OSX? http://www.gnu.org/software/gnupod/ mount, (1-time: gnupod_INIT). gnupod_addsong*, mktunes, umount, eject
|
# ¿ Jun 25, 2007 03:32 |
|
Snozzberry Smoothie posted:I was wondering if there was a way that I could give the www-data group full permissions for the /dev/lp1 port, that would stay there when I reboot my server. I'm sick of chmod'ing it every time I boot up. if the group of /dev/lp1 is something specific like printer, make it a secondary group of your apache user. Otherwise, grep through /etc/udev.
|
# ¿ Jul 2, 2007 06:06 |
|
FrontLine posted:I just looked up LVM as I'd never heard of it. It does look like what I'm after. I take it anything I do with it on Linux can be done the same way on AIX? you want to create a new JFS filesystem based on hopefully free space on some existing volume group. As root: "lsvg" to show volume groups (groups of physical disks, where storage for filesystems come from), 'lsvg rootvg' assuming you have this defined.. Look at "PP Size" and "Free PPs" and hope you see 9gb. "smitty jfs" to create a new filesystem in the volume group with enough space
|
# ¿ Jul 2, 2007 06:10 |
|
SnatchRabbit posted:How would I go about uninstalling ubuntu 7.04 from a Vista/Ubuntu dualboot? Only 1 HDD, each OS on its own partition. Not that I don't love Linux, I just have to remove ubuntu for work reasons. Use the windows rescue CD to restore the dos-style MBR and to make sure the windows partition is bootable. Boot into windows and remove any of the partitions used for ubuntu filesystems via diskmgmt.msc
|
# ¿ Jul 23, 2007 21:23 |
|
Furd_Terguson posted:
No clue where your issue is. Try running the script under an environment by changing the shebang to !#/bin/sh -x
|
# ¿ Aug 1, 2007 12:45 |
|
dfn_doe posted:RE: sudo vs su This requires that: You've configured sudo to allow your unpriveleged user to run commands including 'rm' AND to remember passwords AND you're sharing userids/terminals (and your girlfriend explicitly called sudo rm -rf, there's no sudo voodoo that allows implicit privelege escalation across the system) I can't imagine those two being the case on anything but the most disposable test system in any environment where security or accountability is concerned.
|
# ¿ Aug 2, 2007 12:53 |
|
dfn_doe posted:
People use sudo for convenience and not having to share a root password. Those are two big wins. I don't think that behavior of sudo ever existed.
|
# ¿ Aug 2, 2007 18:59 |
|
teapot posted:Get a USB audio card :-\ I used the predecessor to this on my thinkpad when the soundcard died: http://www.newegg.com/Product/Product.aspx?Item=N82E16829118107 Had problems w/ the linux driver at the time where the mixer only went from 0 to 100%, and the thing is LOUD. Bought a little passthrough cable w/ a sound slider ot use w/ headphones.
|
# ¿ Aug 10, 2007 12:42 |
|
skroll posted:
There's a perl package for converting ANSI text to html (if emerge actually passes the ansi to your mailer, you could pipe it through this perl script before delivering via .forward). HTML::FromANSI
|
# ¿ Aug 12, 2007 14:55 |
|
ColdPie posted:The only thing I could find was something about /dev/random being slow, which I would have no idea how to fix I'd really like to fix this problem as SVN is the only reason this server exists. tcp trace and syscall trace should give you a pretty big hint
|
# ¿ Aug 19, 2007 18:55 |
|
Paul MaudDib posted:Alternately, the server admin suggested altering the directory where make install installs to and making it install somewhere in my home directory. How would i go about doing that, too? You can usually just pass --prefix to ./configure
|
# ¿ Aug 23, 2007 21:33 |
|
teapot posted:You can install XEmacs package, however if you really want to compile the latest version, make sure that, as another poster mentioned, build-essential package is installed. apt-get build-dep foo is a good choice when you want to build already packaged 'foo' from source, without as much autoconf trial and error
|
# ¿ Aug 25, 2007 14:32 |
|
Jo posted:What's the appropriate method of 'cleaning' a Debian Linux install? Unused programs and services don't normally consume much in the way of resources. You might want to make sure your disks are still using DMA (hdparm) and make sure your video is still accelerated (xdriinfo, glxinfo). deborphan can remove unneeded old dependencies to save you some marginal disk space. Finally, monitoring actual resource (mem, cpu, io) usage and finding a culprit would probably be the most likely route to solving a real steady-state performance problem (as opposed to psychological change, or change in startup behavior)
|
# ¿ Aug 28, 2007 01:59 |
|
Jo posted:Thanks for the help. Yeah, I'm definitely not seeing two gig of available memory. Using a stock kernel on modern distribution? $ grep HIGHMEM /boot/config-`uname -r` Maybe some people still need to pass mem= as a kernel parm? mem=2048M ?
|
# ¿ Aug 29, 2007 02:40 |
|
Mr. DNA posted:I'm trying to get my scanner working and I'm getting a strange error. You can get a quick backtrace by prefixing your invocation with "catchsegv'
|
# ¿ Sep 12, 2007 20:07 |
|
rugbert posted:Also - Whats a good iPod program? I was using ephPod with Wine but it was buggy and didnt save the playlists I made. gnupod is nice and simple
|
# ¿ Sep 18, 2007 03:56 |
|
invid posted:How can I configure my squid properly? I've been reading the squid wiki and have been searching google for sometime now with the keyword "squid conflict web server same machine" and I can't seem to get any info on this case. I wouldn't expect too much breakage based on being on the same system; does an ip trace show anything suspicious in the communication between the two?
|
# ¿ Sep 30, 2007 16:32 |
|
Col posted:
should be obvious that the forward slashes need escaping, and anything with a reserved meaning in th regex; Or use a different character to separate the parms code:
|
# ¿ Oct 13, 2007 17:46 |
|
dorkface posted:
You can configure this manually in a few short lines; hate to ask, but you did restart your Xserver after those changes?
|
# ¿ Oct 17, 2007 02:02 |
|
Jo posted:
Why can't you join the rest of the world and run some 32-bit applications on your 64-bit OS?
|
# ¿ Oct 17, 2007 04:41 |
|
dorkface posted:Well, lets see: X only restarted between 1 and 2, not after step 4 where you needed it.
|
# ¿ Oct 17, 2007 13:46 |
|
ColdPie posted:My question is whether I should install the 64-bit version of the distro I use or the 32-bit version. I've heard 64-bit is better for systems with more RAM, and systems with smaller amounts of RAM should use 32-bit versions. Beyond that, I really don't know which to choose. Net, 32-bit will have less potential headaches. Unlikely any tanginle benefit of running a 64-bit kernel or applications.
|
# ¿ Oct 18, 2007 15:30 |
|
|
# ¿ Apr 28, 2024 17:46 |
|
invid posted:I'm trying to create a shell script to mail me after rsync has been done. pipe or redirect the message body in, and mail will see the EOF. a "heredoc" works too: code:
|
# ¿ Oct 21, 2007 17:14 |