|
GT_Onizuka posted:Is there anyway to disable this?
|
# ¿ Mar 27, 2007 19:16 |
|
|
# ¿ May 2, 2024 03:50 |
|
Mashi posted:I'm looking for a way to mount the share without keeping a plaintext password anywhere. Automatically mounting Samba and NCP shares using PAM Mount SAMBA and NetWare volumes with pam_mount Howto: CIFS + pam_mount
|
# ¿ Apr 17, 2007 19:07 |
|
dfn_doe posted:I don't know about the rest of you, but having /home mounted on an ext2 partition seems to be about the simplest way to ensure that you can get to your data from windows and/or OSX with easily available and stable tools/drivers with little chance of corrupting your data. Other FS types do not have this same ability... yet.
|
# ¿ Jun 10, 2007 14:22 |
|
dfn_doe posted:bingo! That'd be a perfectly cromulent solution. You can figure out the UUID to disk mapping by jumping into /dev/disk/by-uuid and doing a quick "ls -l" to see where the UUID symlinks point.
|
# ¿ Jun 12, 2007 12:09 |
|
Scaevolus posted:What internet connection do you have? Many residential connections forbid you to run a server over their network.
|
# ¿ Aug 17, 2007 22:49 |
|
How should I rename large amount of files with non-printable characters? I recently moved some harddrives between systems and lot of the files had umlauts in the names. The files were created on the old computer under ISO-8859-1 encoding and the new computer uses UTF-8. I could rename them manually, but actually locating them would be a problem. I haven't figured a way to give such a non-printable character as a search parameter for find. Most of the files have just "Ä" and "Ö" characters, but some may also other random special characters, like accents, so I would also have to find all the files with non-ASCII characters. This could be solved if I could somehow use the hex or octal codes of the characters with find. "ä" has octal 344, hex E4, "ö" has octal 366, hex F6.
|
# ¿ Oct 6, 2007 18:10 |
|
Ericcorp posted:I really need to do it from terminal. My employer will not let me run a graphical linux on any of our machines we have in the field. I only have graphical Ubuntu for my dev server to learn on, but I want to use the graphical options as little as possible.
|
# ¿ Nov 28, 2007 13:39 |
|
commonbrick posted:I have a Sun SparcStation 4 that I am going to be selling. Before I sell it I want to zero the drive and if possible, install a distro of linux or BSD on it.
|
# ¿ Dec 2, 2007 01:17 |
|
Rescue Toaster posted:B) I'll be doing software RAID5 via md. I don't want extra discs that can fail in the machine (and it only has 4 SATA ports anyway). Is it practical to use a small compact flash (connected to IDE) or even a USB flashstick as the /boot partition so root and everything else can be on the RAID array? Does /boot get written to a lot - wearing out the flash?
|
# ¿ Feb 15, 2008 20:22 |
|
Kaso posted:I have a ubuntu PC with two network interfaces, however my router's DHCP software (as far as i can work out) doesn't want to give me two IPs because both interfaces are broadcasting the same hostname.
|
# ¿ Feb 16, 2008 18:09 |
|
DEAD MAN'S SHOE posted:thanks guys, seems that both are hit and miss, particularly with VBR bitrates (mpg321 will return the bitrate detected in blockN and file won't return anything).
|
# ¿ Feb 24, 2008 13:36 |
|
chryst posted:Yes, but it's only safe when the source disk isn't going to throw read errors.
|
# ¿ Apr 25, 2008 20:42 |
|
Coupon Wizard posted:Can you just run "rm -rf /"?
|
# ¿ May 20, 2008 16:46 |
|
iceslice posted:"df" is a quick way CLI way to get the basics.
|
# ¿ May 29, 2008 12:49 |
|
nbv4 posted:The problem is that embedded google maps will only work from a domain you have a key for. I have a key, but it only works on my domain. using it on 127.0.0.1 will bring up an "invalid key" error. Up to now I've had to do development on the live site because the maps wouldn't show up on my local machine. This is a huge pain in the rear end. I just recently found out that google maps will without a key, as long as the page is accessed by "file:///", but as posters have said in this thread, PHP won't be executed via file:/// so I guess I'm kinda screwed unless I execute the code first, but that kinda defeats the purpose. My development technique is make a change on the code, ctrl + s, switch to browser and hit F5. I can do this up to 10 times a minute.
|
# ¿ Jul 12, 2008 08:56 |
|
Deadpan Science posted:I haven't really ever used linux before, and while I was able to download all of my .tar.gz files, I'm running into a lot of problems with (I think) permissions. Instead of .cshrc you should probably use .bashrc, since Bash is the most commonly used shell on Linux.
|
# ¿ Aug 17, 2008 09:00 |
|
Roctor posted:Presumably the data is still in tact, but I'm not sure how to go about fixing this situation. I'm currently downloading a ubuntu live cd to hopefully get access to the drive to see what's going on.
|
# ¿ Sep 3, 2008 21:26 |
|
Lucien posted:What a loving nightmare. I'm not the type to go on about Micro$haft Windoze LOL but some poor decisions were made concerning the dual boot handling. Good luck!
|
# ¿ Oct 16, 2008 18:46 |
|
Kane posted:ADOPT ME
|
# ¿ Dec 7, 2008 17:40 |
|
JawnV6 posted:fake edit: I think the TV's just being retarded. nvidia-settings even decided to play nice and open up, it can pull the EDID, knows it's a Sony TV and all the relevant specs, it's just the TV overscanning and not giving any useful options to pull it back. The system looks like it's generating the perfect signal. juggalol posted:No problem. I'll keep this in mind - I had hoped to use my current 32" HDTV as a desktop display once I get around to upgrading my TV (within the next year or two) but maybe that won't work out so well after all. I'd rather know now than spend hours banging my head against a wall.
|
# ¿ Jan 8, 2009 23:11 |
|
Dimitri ExZemos posted:I have a question regarding anti-virus and NTFS scanning.
|
# ¿ Mar 17, 2009 23:12 |
|
Magicmat posted:What am I doing wrong? I should note here that my text is being copy+past'ed out of my web browser, Opera, into gEdit, and saved to disk, so line endings are in \r\n format, for some reason.
|
# ¿ Apr 4, 2009 14:47 |
|
Hubis posted:Is there a script or command-line tool that I can run that will parse a set of MP3 files and re-organize the file structure to match the ID3 tags? Ideally what I'd like to do is set up a cron job or something that periodically checks the $SUBSONIC_MEDIA/incoming folder for uploaded files, reorganizes them, and then moves them to the $SUBSONIC_MEDIA/music directory so that they can then be added to the database. code:
|
# ¿ Apr 10, 2009 12:46 |
|
TekLok posted:What's the best way to verify the integrity and completeness of a large transfer with many files (i.e. after backing up to an external usb hdd)? Before I format the old system I want to make sure I didn't lose ANYTHING in the 800gb transfer, including many small files. File system is ext4. code:
|
# ¿ Apr 14, 2009 00:12 |
|
livelikecode posted:Don't know if this for sure belongs here, but I don't want to make a whole thread for this...
|
# ¿ May 17, 2009 12:00 |
|
fatman1683 posted:Basically I want to replace my current 3-box home network setup with one box. I want to use an Atom board and a small SSD to minimize power consumption and heat and allow more rapid booting on par with a commercial router, and I want to use the RAMdisk setup to maximize the lifetime of the SSD and improve performance, since the SSDs I'm looking at have dreadfully slow write speeds. How to: Reduce Disk Writes to Prolong the Life of your Flash Drive Four Tweaks for Using Linux with Solid State Drives
|
# ¿ Jun 12, 2009 20:29 |
|
roadhead posted:And because I had not yet made a mdadm.conf - even with a proper shutdown the array would not be unmounted cleanly, which explains the resyncing after I --assemble it again. code:
|
# ¿ Nov 13, 2009 20:24 |
|
epswing posted:Which should go first, rm or find, and why? I think usually it's considered most correct to use xargs, but it may run into to the same problem where 'rm' tries to remove folders that were already removed. code:
|
# ¿ Dec 24, 2009 22:20 |
|
Has anyone tried using Ubuntu with a wide vertical Gnome panel on the side? It seems to be pretty broken. Below is a picture of how it works and under it an example of how I would want it to work from Vista. Not only does it get completely messed up even switching between applications doesn't work right. It often required repeated mouseclicks before it registers. Click here for the full 1440x900 image. Click here for the full 959x600 image.
|
# ¿ Jan 24, 2010 19:13 |
|
The Gay Bean posted:
code:
|
# ¿ Sep 3, 2015 23:24 |
|
ExcessBLarg! posted:It's a bit dubious to encrypt an already-encrypted key, unless you know that what you're encrypting it with has a better key derivation function and you're using old-style PEM keys for compatibility purposes. You can also use the -a parameter to increase the hashing iteration rounds from the default 16 rounds. You can find more information at the tedu blog. If your OpenSSH client is older than 6.5 and you can't use the new format, then you can use OpenSSL to convert the key to PKCS #8 format. Improving the security of your SSH private key files If you plan to use KeePass to store the key in cloud or other sensitive info, then remember to use a large number of key transformation rounds. Another option is to use key file, it would practically make the password quite a bit stronger. This is something I've considered if I want to use the cloud to sync my KeePass database between my desktop and cellphone. I wouldn't have to use inconveniently long passwords or too many transformation rounds for the cellphone to handle. The key file would be stored only on the devices, never in the cloud.
|
# ¿ Sep 18, 2015 20:54 |
|
RyuHimora posted:I almost can't believe this was the drat issue, but I should not be surprised when Microsoft fucks something up for me. Thanks. Only problem is dos2unix didn't help, but copying iptable.txt from the working machine seems to have worked. Guess we just can't edit it with Windows, then. I believe nowadays 'dos2unix' may be replaced by the command 'fromdos'. And 'unix2dos' => 'todos'. Debian has them in the "tofrodos" package.
|
# ¿ Oct 14, 2015 18:24 |
|
Tab8715 posted:In what circumstance do you have file names with such odd characters? Is this common in the *nix world? I like to use correct names on my manga collections and that's why I remember by heart that Alt+0191 on the numpad will produce ¿. For some reason many titles want to use question marks and that's the best I could do. Then I came across manga that had "/" in the title and that's just verboten. But Japan to the rescue, I whipped out charmap and searched for a kanji character that looked most like / and used that, problem solved! Except later I needed to type the title again and I couldn't figure out what character I needed to use.
|
# ¿ Oct 14, 2015 23:21 |
|
Is there a TFTP/PXE boot CD image for situations where you can't configure DHCP to use proper PXE? At work we use PXE to install RHEL and Ubuntu servers. We have access to another organization's Openstack system but they don't support our PXE environment and I doubt we would be able to configure it. I'd like some kind of CD image that would replace the initial PXE boot and then continue with the normal TFTP boot.
|
# ¿ Oct 26, 2015 19:35 |
|
Methanar posted:I was having a pretty good time watching some people argue about how cat /dev/urandom >/dev/sda would be a safer way to fill your disk with garbage than cat /dev/null >/dev/sda. At least with random you'd still have a chance of accidentally installing windows 95 or something. So if you need to create a lot of pseudorandom data fast what method would you use? I once wanted to test a NFS server and suspected it would have dedup and other fancy features so /dev/zero would just get soaked up. Best method I could find was encrypting /dev/zero with openssl. code:
|
# ¿ Oct 31, 2015 21:02 |
|
Thermopyle posted:I've got a system living on a 2 disk mdadm raid1. I want to move it to a single SSD. I assume you mean had, since you seem to be missing the other harddrive. How large is the SSD? If it's large enough the simplest method could be to add it as replacement drive for the RAIDs and then run grub-install. If it's under 1TB then dd won't work and you need to copy the files to the new disk while offline.
|
# ¿ Nov 27, 2015 16:59 |
|
salisbury shake posted:my_username@my_hostname:/mnt/Storage/BitTorrent/.incomplete$ ls -lah . Directories need the x permission. Try 'chmod 777 "Warpaint - The Fool - 2010 v0"'.
|
# ¿ Jan 27, 2016 22:44 |
|
fuf posted:hello I'm trying to run a backup script on my debian server via cron. I would suspect that "cron" doesn't have the same $PATH as when you run it interactively. Edit crontab to use the full path /usr/local/bin/backup and possibly edit the script to use the full path for rsync-command. Additional error messages may be in root's mail, check the contents of /var/spool/mail/root.
|
# ¿ Jan 30, 2016 21:02 |
|
MagnumOpus posted:Anyone know how logrotate determines "order" for multiple config files in /etc/logrotate.d? I was just going through cron emails at work earlier today and saw quite a few complaints about similar situations. I would probably try avoiding it. code:
|
# ¿ Feb 3, 2016 00:29 |
|
|
# ¿ May 2, 2024 03:50 |
|
From the crontab man:quote:The ``sixth'' field (the rest of the line) specifies the command to be run. The entire command portion of the line, up to a newline or % character, will be executed by /bin/sh or by the shell specified in the SHELL variable of the crontab file. Percent-signs (%) in the command, unless escaped with backslash (\), will be changed into newline characters, and all data after the first % will be sent to the command as standard input. There is no way to split a single command line onto multiple lines, like the shell's trailing "\". I consider such a complicated crontab command too risky, I would put a single script without any parameters or redirections as the crontab command and do the more complicated stuff inside that script.
|
# ¿ Mar 2, 2016 18:59 |