Tag Info

New answers tagged

0

You can also install the at service/daemon which spools jobs based on time features like "now + 7 days". First, launch atd (through the init scripts or systemd or upstart etc). Then queue up your job with at -f /path/to/command now + 7 days to start it 7 days from right now, or at 2am tomorrow and read the commands to be run tomorrow at 2 in the ...


0

I'd suggest caution if you want to use Debian on the desktop. They don't seem to have the resources necessary to provide QA on the desktop side. For the past couple of years installing Debian Desktop leaves you without notifications for security updates. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678340#22 ...


0

I use Ubuntu and a very close friend uses Debian. We both run pretty much the same packages. He is forever calling me to help him out of crises. Granted the silly things he has problems with most Debian users would not. He calls me because I have been successful in helping him when he accidentally crashed his entire system and I recovered it for him. No... ...


1

Today is Wednesday. If you want cron to execute a command at midnight every Thursday, here's what you put in your crontab: 0 0 * * 4 root /path/to/command


2

Maybe you should set your statics IP in the DHCP server or in the router (it could work as DHCP server). Check this tutorial. There are some considerations about setting a static IP in the client or in the DHCP server. Take a look to this.


1

*/7 doesn't mean "every 7 days from now". It means "every days that are a multiple of 7". So it runs the command if #day modulo 7 == 0 → 7th, 14th, 21st, 28th of the month. The french wiki page of Cron provides many examples: http://fr.wikipedia.org/wiki/Cron#Exemples You may want to use Fcron: http://fcron.free.fr/


0

You would need someone to precompile source of all packages and get .debs ready for you (the Debian binary packages for Linux kernels won't work for FreeBSD kernels), and recompiling/porting is not always trivial. Ubuntu doesn't have those precompiled binaries, so I think the simple answer is "no -- at least not without a team of very competent developers". ...


1

UPDATE I found a workaround after reading these bug reports: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785782 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724731 In my case the workaround was installing lightdm as display manager. sudo aptitude install lightdm This also prompts you to choose it as default display manager. However this ...


4

As most Linux experts believe so, creating a root account ain't a good idea and that's why people mostly stick to SUDO (Although, sometimes it might make you kind of nervous.) But if you can accept risks, this piece of code would activate a root account: sudo passwd root I'd suggest you deactivate it after you satisfy your need with it. You may want to ...


-2

The UID and the GID of root are 0. So you have to run those commands: groupadd --gid 0 root useradd --home /root --uid 0 --gid 0 root You can name this account likeyou want, what's important here is the UID (user id).


9

The root account is always there, you just need to set a password for it: sudo passwd root And enter a password when prompted to.


1

You can try yes | program or dpkg-reconfigure debconf


0

the other answers will work, or not, depending on whether or not the key '8B48AD6246925553' is present in the packages they indicate. if you need a key, you have to get that key, and where to find it, it's in a key server (very probably any key server will do): sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553


3

According to the man page for etckeeper, your first situation is documented, commit [message] Commits all changes in /etc to the repository. A commit message can be specified. You may also use the underlying VCS to commit manually. (Note that etckeeper commit will notice if a user has used sudo or su to become root, and record the original ...


1

The post is a bit old, but I ran through exactly the same problem (Debian as well) and running the following command as root solved it: apt-get clean it released 2G of rootfs in my case (god knows why). I got this hint from the following link, which seems very comprehensive: https://wiki.maemo.org/Free_up_rootfs_space


2

If you scroll down to the bottom of the Chromium package page, you'll see that the package is only available on amd64 and i386. Your Cubox runs armhf, so the package isn't available for your system... It has built on armhf in the past, but the latest attempts (in 2013) failed because of compiler errors. You could always try rebuilding it yourself, but it ...


0

After I tried many options of aptitude and the ways friends suggested in their posts, I came across a incredible option of aptitude: -f Try hard to fix the dependencies of broken packages, even if it means ignoring the actions requested on the command line. This corresponds to the configuration item Aptitude::CmdLine::Fix-Broken. Using ...


0

Heres what worked for me: https://longhandpixels.net/blog/2014/02/install-nginx-debian-ubuntu I ignored most of the document, which was specific to compiling other versions, of nginx, and went over to "Make it Autostart". I followed the directions there, and now when I reboot, nginx 1.9 is running. I definately appreciate everyone's help, and insight. ...


1

It looks like you have broken dependencies to the extent that APT is unable to resolve conflicts. You may need to temporarily remove some packages or install unwanted packages. It may help to temporarily disable non-official package sources. Edit /etc/apt/sources.list or /etc/apt/sources.list.d/* to comment out Wingide and other non-official package sources ...


0

I had the same issue with a recent Kali 1.1.0 VM install on Fusion 7.1.1. Here's what sorted me out: apt-update aptitude reinstall coreutils mv /usr/bin/readline /usr/bin/readline.old (leaves GNU /bin/readline as available, trash once completed) update-grub sed -i 's/BUSYBOX=y/BUSYBOX=n/' /etc/initramfs-tools/initramfs.conf update-initramfs -u reboot I ...


0

If you use bash you can do here-doc $ su - user -s/bin/bash -c <<EOF export X=1 echo $X EOF That way you can execute many commands and keep the state inside a script. The same with sudo sudo -u user <<EOF your script here EOF


0

just create an empty file before re-installing sudo touch /etc/init.d/pure-ftpd-mysql then reinstall with --purge flag (it removes a library with this file, and creates a new work file) sudo apt-get remove pure-ftpd-mysql --purge sudo apt-get install pure-ftpd-mysql


0

After edit restart nfs-kernel-server On other linux distro i use another method, edit /etc/nfsmount.conf # Protocol Version [2,3,4] # This defines the default protocol version which will # be used to start the negotiation with the server. Defaultvers=3 Then restart nfs,this enable only nfs3


1

I can not reply to damn's comment, but adding iommu=soft solved it for me too. I tried with the noapic nolapic options and wih the IOMMU fom the bios and all failed. Simply follow the same steps as described by slm but add iommu=soft on the start command line instead of noapic nolapic.


1

The error message is produced by apt-listbugs. If you purge that package (for now), you should be able to use aptitude or apt-get again... You can then try re-installing apt-listbugs from the LMDE repositories, but you should make sure that all its dependencies are LMDE versions as well. You can use apt-show-versions to determine where your packages are ...


0

I saw that I can change the device of the audio-stream


1

I would highly recommend YUMI if you are making this on windows, its a subset of pendrive tho i found it far more straight forward and much easier to load multiple bootable isos onto link:http://www.pendrivelinux.com/yumi-multiboot-usb-creator/ also super easy to edit the grub menu if you are into that sort of thing.


4

I was having the opposite problem on a Debian 8 image which somebody had put together for a Wandboard. I was trying to find the manual page for some packages which were already installed and noticed that after installing some new ones, the manual pages were missing, even though they were present in the deb file. I then found this file 01_nodoc in ...


0

Use the dynamic version from skype.com. The debian version skype provides isn't compatible any more.


0

I found the solution. It's quite simple, you just need to install plymouth and set your favorite theme.


1

You need to write in BIOS, Suppose you want to change date strings to the following string: root@debian:/home/mohsen# date -s "Sat May 23 18:56:59 IRDT 2015" root@debian:/home/mohsen# hwclock -w An first line you set a date, But you need to write in bios, In second line with hwclock -w you write your time in bios.


2

For some reason, your initramfs is failing to start your RAID array. That could mean it just wasn't configured to, or that it was somehow generated wrong. Since you're able to boot from a recovery disk, you can easily change the setting and regenerate it using the following commands: dpkg-reconfigure mdadm. You should be asked which arrays to start in the ...


0

Edit /etc/passwd and duplicate the line of the user you want an exact copy of. Modify the logon name, real name and the home directory. Edit /etc/shadow and again duplicate the line of the original user. Modify the logon name. Finally execute passwd newuser to modify the password. Be aware that system wise both users are the same (same UID), so one will ...


0

As you know , Unix users as UIDs not name , For exampel : mohsen known as 1001 or group mohsen known as 1001. You have to write an script and do step by step the following steps: Find uid and gid of the given user Find its home directory. Find groups whom user is member of them. Read /etc/suduers and state of your user. It's very important to you ...


1

Put all your hostnames in a file, each on a separate line, then ... for h in $(cat <file>); do ssh $h dpkg --get-selections >/tmp/$h.dpkg; done


1

The solution is fairly easy, just replace auto to allow-hotplug. So I ended up with this: allow-hotplug lo iface lo inet loopback allow-hotplug wlan0 iface wlan0 inet static address 192.168.150.1 netmask 255.255.255.0 allow-hotplug eth1 iface eth1 inet manual up ifconfig $IFACE ...


0

There is no known possibility to restrict Debian 7 Wheezy's ejabberd 2.1.10 to use certain ciphers. The only solution is to upgrade to a more recent ejabberd version, Debian 8 Jessie's ejabberd 14.07 for example.


2

Use lsblk to list block devices. It's likely that '/dev/sr0' is a read-only-media (rom) device. That should be what you seek.


0

After a month of seeking, I still didn't find suitable build system that could meet the needs of our team. So I had to combine a new one from the existing components. Here they are: Gitlab (SCM server) Jenkins (CI server and build management tool) Docker (light-weighted isolated environment for builds) Git-buildpackage (very convenient tool that ...


2

It's not an error, so you shouldn't try to make it go away. The scripts in your initramfs are opportunistically checking to see if they can activate the LVM VG that contains your root device before they bother asking for a passphrase to decrypt any encrypted devices. In the case that your root device is not encrypted, this will work, and the system will ...


0

Try this command useradd -N -g gid -G gid2,gid3 -m


0

You comment contrib and non-free , Use the following sources.list : First sources rule is : deb http://ftp.debian.org/debian/ wheezy main contrib non-free Then : apt-get update ; apt-get -f install ; apt-get install libaudit1;


0

I've changed the following configuration file /etc/postfix/sasl/smtpd.conf pwcheck_method: saslauthd mech_list: PLAIN LOGIN This now allows authentication to work correctly.


0

To back up my pi, I remove the microSD card, and plug it into my laptop. Then run a dd to produce a file on my laptop of the entire disk, as per above: dd if=/dev/mmcblk0 of=/path/to/backup/directory/backup.img bs=1M


0

Fixed! I was so much focused on raspbian, thinking that the issue should be there, and found that my internet (gateway) router on 192.168.81.1 wasnt redirecting 10.0.0.0 back to 192.168.81.3 (raspbian). So, I manually added the route in 192.168.81.1 and fixed! Seems that my raspberry was succesfully configured, and I was so blind looking at it that forgot ...


0

This may probably a bug, you should report it...and the solution.. Temporary install another desktop and waiting for reply, if you have ability, compile it yourself. PS: first you can find your system installed glib version, then compile the same version of glib replace stock one, have a try...


0

You also forgot to mention that package forwarding should be enabled to be able to perform destination NAT. By default, it's usually off, so iptables rules will not work. It can be enabled by issuing: echo 1 > /proc/sys/net/ipv4/ip_forward


1

Yes, it encrypts the swap partition with no extra effort. Yes, when you hibernate, will it automatically encrypt the disk, including swap (but not the boot partition). Yes, when you start again from hibernation, it prompts for the decryption pass phrase (but not for the account password). You get an unencrypted boot partition, and the rest of the disk is LVM ...


0

Pulseaudio is a little daemon. man pulseaudio says you can turn it off with the command pulseaudio --kill but doing that takes the rebirth again-- it respawns itself. A normal init script is there to start it at boot, /etc/rc2.d/S50pulseaudio. But when you try controlling this the normal Linux way it doesn't work, because running /etc/init.d/pulseaudio stop ...


0

Yes, this is related to systemd. You can attain more verbose boot logging by one of these methods: add systemd.show_status=1 to the kernel cmdline; set ShowStatus=yes in /etc/systemd/system.conf; remove quiet from the kernel cmdline. Ref.: systemd(1). Regarding the messages by systemctl (service is just a wrapper) — it shows no output in case of ...



Top 50 recent answers are included