Debian Configuration :: Unneccessary /Users In Fresh Install?
Nov 2, 2010
I did a 'netinst' today and de-selected every available option when I got to the 'software selection' screen (even 'Standard System & 'Desktop Environment') however after a fresh install, I noticed what seemed to me like useless / unnecessary system user accounts:
- news
- games
- www-data (obviously no Apache is installed)
I was wondering if there was a way to avoid this from a minimal install?
I'll start a fresh installation of a debian stable server and I would like to use LVM on this. So, I started to read lots of documents about LVM and found different flavors on partitioning with it. I'm thinking in a partition schema which might use LVM for those mount points that tends to grow in time, for instance:
I've just installed 'Testing' on a VMware server and after I completed the install with no problems, the system booted into the kernel and I noticed the following start up process error:
startpar: service(s) returned failure: udev...failure!
I have not seen this before and am not sure if it's related to the fact that this is a virtual machine and not a physical server or something else.
so I just installed Squeeze Alpha1 amd64, dual boot with MS Vista using Grub. Everything seemed fine, but I'm apparently missing about 40GB of space. It should be set up as so:
101GB NTFS /dev/sda1 - Vista 12GB NTFS /dev/sda2 - HP Recovery 45GB ext3 /dev/sda3 - / Debian squeeze
I just did a regular install of debian lenny on a stand-alone machine. Now I want to add some new mp3-software. Debian doesn't like it if I install as root. A regular gets other negative results:
wlff@debian:~/My_Apps/mpg321-0.2.12-1$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... no checking for gawk... (cached) mawk checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. wlff@debian:~/My_Apps/mpg321-0.2.12-1$
I did find the GNU-compiler in /usr/lib/gcc. So what could be wrong with gcc, and what about gawk, cc and cl?
I have Debian 8 installed, using: * gdm3 as the default display manager (set up in "/etc/X11/default-display-manager"); * LXDE as the default desktop environment.
I did "dpkg-reconfigure locales" and I selected three languages: "en_US.UTF-8", "it_IT.UTF-8", "sv_SE.UTF-8" (the predefined one is "it_IT.UTF-8").Now I wish to create two more users each with a different language (both for X and console applications).I did a lot of googling without success; I tried modifying ~/.profile or ~/.dmrc (adding "export LANG=...") but they didn't work. I was able to change only the system-wide language, not the one of a single user.I got the conclusion that It's not possible to have multiple users each with a different language. Is it true?
I made another try.In another installation (Debian 8, with GNOME and LXDE) I created two users:antonio, ida.The former has only one hidden file in its home-dir: ".bashrc" with "LANG=it_IT.UTF-8" as the last line (no "export $LANG" added).The latter ("ida") has only two hidden files in its home-dir:
1. ".bashrc" clean, with no "LANG=it_IT.UTF-8" line 2. ".dmrc" containing two lines:
Language=sv_SE.utf8.I put "/usr/sbin/gdm3" in "/etc/X11/default-display-manager".After reboot both users are OK: each of them displays its own language: antonio has all menus and programs in italian ida has all menus and programs in swedish.
I was able to create 4 users with 4 languages (SE, IT, FR, ES). Then I deleted all directory and files (including "~/.bashrc" and "~/.dmrc") of one user, rebooted the PC, and NOTHING changed! So, where is stored the user's language?Not in his home; there is a list elsewere?
0. Use "lightdm" (not "gdm3") as the display manager (see "/etc/X11/default-display-manager") To install it: su -c "apt-get install lightdm" 1. su -c "dpkg-reconfigure locales" (select the desired locales: en_US.UTF-8, it_IT.UTF-8, sv_SE.UTF-8, etc; set "default locale for the system environment=None") 2. su -c "adduser emil" ("emil" is the name of a swedish user) 3. Logout 4. Select "Swedish" as default language (see at the top-right corner of the screen) 5. Write user name (emil) and password to login 6. After login, language is english (but file "~/.dmrc" is created with the correct language). 7. Reboot PC. 8. After reboot, login again as "emil": now language is Swedish
Now you can change the display manager to gdm3 if you prefer.To change applications language: su -c "apt-get install task-swedish task-swedish-desktop"
I found the file containing the user's language: it's the same containing the link to its icon:/var/lib/AccountsService/users/UserName.(needs "apt-get install accountsservice"). Editing that file is much simpler as I described earlier
I'm newbie on Debian, and I just installed Debian 8.2. (I used to run openSuse, and I see Debian is quite different.)
Where should I set environment variables (like PATH or JAVA_HOME) in order to affect all users?
I read some documentation about that, but It is not clear for me, the difference among "/etc/environment", "/etc/bash.bashrc" and "/etc/profile".
(In openSuse, I used to create a file "/etc/bash.bashrc.local" and set the environment variables there, in order these settings are not lost with updates.)
I have vsftpd installed on my Debian (squeeze). I wish to let a local user (ftp) access the FTP server, but not login as normal user through SSH. In vsftpd.conf, I have enabed local user and chroot. I have also changed the shell of the local user (ftp) to /bin/false. The problem is that, I cannot login the FTP server from another computer (I login as "ftp" on a Windows machine). But when I change the shell of the local user (ftp) to /bin/sh, I can login the FTP successfully.
Is this the problem of Windows, or I should use something else instead of /bin/false if I want to prevent "ftp" login service other than FTP?
i would like to prevent all users other than the user "parker" on my system from using the su or sudo commands. I have not attempted to modify the sudoers file so it just contains the standard root ALL = (ALL) ALL.
It looks like my web/ftp server has been hacked but I'm not sure how. I logged in tonight and found I had new mail. I read it and found some e-mails that had failed to send because I don't have mail setup (luckily). The e-mails were trying to send my user name and password to the e-mail address lostsoul2k@ymail.comI've no idea where to start, I use SSH, FTP now and then and it hosts a Wordpress site. The FTP users do not have access via SSH, only my user ID. However, the e-mails also contained another user ID that only has FTP access to the server.I've looked through the logs for rkhunter but it doesn't look like it found anything.
I have a USB stick, formatted as FAT32 and I assumed that everybody would be able to read from and write to it. However, I find that if more than one person is logged on to the machine (logged on locally, with "Switch User"), then only one of the users is allowed to write to the stick, and the other users are only allowed to read from it. Is that normal?
Here's the scenario: person A logs into the machine, is in the middle of something but gets called away and the screensaver kicks in. The screen is now locked. Person B comes to the machine to quickly copy a file onto a USB stick, doesn't know person A's password so does a "Switch User" and logs in as themselves. They plug in the stick, can read from it, but can't write to the stick at all. Permission denied.
By doing a "ls -l /media", person B can see that the stick is mounted but is owned by personA with permissions drwxr-xr-x . So only person A can write to the stick. I haven't done extensive testing but it seems to be the person who logged on first who gets to own the stick. It's certainly repeatable as described above. And it's really annoying, because unless person B knows the root password, he can't write to the stick. As a real last resort person B could reboot the computer but he doesn't know whether person A has any important stuff open or not.
I have an old server running CentOS 5. The encription method used was the default MD5 for the shadow file. I would like to migrate the server to Debian Squeeze which uses SHA512. I have already copied the passwd, group and shadow file with the user accounts information but the Debian machine doesn't let the users login. I have already looked in the pam files to make it accept the MD5 encryption without any luck. how can i migrate the users without resetting their passwords?
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 2 users on my HPmini 210 netbook running Squeeze. I just found out that it does not connect to existing wireless networks when I login as the second user. Is it supposed to happen by default or am I supposed to do something to make that happen? Another problem is that when I tried to create "new connections" again for the second user, the keys won't work. The same keys are working for the first user. The network keys are WEP 64 bit HEX.
I need to set up quotas so each user has a limit of 20GB (soft could be 15GB) on their homes.Is there a way to set up a default quota for all the users, or do i have to do this for the 345982374058 users in my system manually?would group quotas help? (i dont understand much of these type of quota)
I need to add another user besides the one set up during the installation procedure but I also need to limit all users to use only their own /home/user directory.
I have setup Postfix + Dovecot on my basic debian 5 server. If I send a message to a localuser@mydomain.com from mutt, it delivers just fine and is visible when viewed through squirrelmail, I can also send just fine.
My issue is that irrespective of what options I set in main.cf, I cannot for the life of me get Postfix to stop erroring with "Recipient address rejected: User unknown in virtual alias table". I'm stumped.
My main.cf is as follows code...
I do not want to setup virtual hosting with MySQL or similar, I literally want to receive mail in local users mailboxes for a single domain. Any ideas on what's missing?
I'm trying to follow the exim documentation to allow suffixes on mailboxes for all users. For example, if user@domain is a mailbox, I want all mail directed to user-*@domain to be delivered user@domain. I've got the split-config-files option and have edited /etc/exim4/conf.d/router/600 to include local_part_suffix lines as follows:
I just did a fresh Debian instal & upgraded to Sid. I had the repositories set to get the codecs & audio & video was OK but somewhere along the line of my system set up (adding software) I lost the ability to play videos. I must have nuked a library or something I needed but I am not sure what. Totem just shows lines and plays sound.
I checked & I have ffmpeg , w64codecs and libdvdcss2 which was what I thought I needed.
Recently, I did a netinst Debian install (on a C554US compaq presario), and while the net worked fine during install, I didn't seem to have a network connection (I use dhcp, mind you) or even an eth0 set up. I've used Debian before, but it was awhile back and I can't remember it all that well, but I DO remember having had net back then (previous version). I'm using Debian Testing, if that helps explain what might be wrong, and I can't help but feel it is my own mistake which caused it.
After successfully installing Debian 5.0 stable from a CD, I noticed that there wasn't any sound. I unmuted the volume in Debian itself and there still wasn't any sound! I ran alsaconf and it came up as a VIA VT8233/A/8 sound card.
I just installed Debian 6 & prior to my first update my sound worked fine. But after accepting all the updates based on the repositories below the system can't identify my sound card.
deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20110112-01:05]/ squeeze main [URL]
Sound Card (1st one / second is built in audio on a video card) joe@Tux-Box:~$ lspci | grep -i audio 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40) 01:00.1 Audio device: nVidia Corporation Device 0be9 (rev a1) Errors (outside of just not being able to play any audio)
joe@Tux-Box:~$ alsamixer Cannot open mixer: No such file or directory When I try to open sound applet in pannel -> No volume control GStreamer plugins and/or devices found.
joe@Tux-Box:~$ cat /proc/asound/cards --- no soundcards ---
- The user is part of the audio group. - I was playing around with run levels and if I ctl -alt F2 log in as user su - password init 5 hit reset on the computer.
When it reboots I have sound. I attempted changing /etc/inittab but after rebooting no sound. I am still unsure of what to do.
# The default runlevel. id:5:initdefault: # was 2 above at install - sound came on at 5
when i run dpkg-reconfigure locales and the gui comes up its mostly strange characters like in the picture.URL...Its like that on every gui im opening.its an vps im ssh'ing to. So my first guess was that it was an ssh client error but i cant change anything in the client,im using tunnelier.
I installed Jessie day before yesterday on a freshly formatted partition. After a random time, it hangs. If I am playing music at the time, the music continues for a few more seconds _after_ the mouse and keyboard become unresponsive, if that is useful.
Sine I did not understand how to pick the desktop during the installation, I installed Gnome. Afterwards, I installed KDE. Now I have a lot of Gnome stuff around I don't really need. But they are in principle compatible, right?
This morning, the hang was almost immediate after logging on. Only Iceweasl and Amarok and a Konsole were running. I attempted to start Icedove, when everything hung.
Here is the relevant part of the syslog.
Dec 8 07:41:38 jon-desktop rsyslogd: [origin software="rsyslogd" swVersion="8.4.2" x-pid="775" x-info="http://www.rsyslog.com"] rsyslogd was HUPed ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
After logging into a fresh Debian 5.0 (lenny) install from a VPS (virtual private server) provider, I run 'apt-get update' and then 'apt-get upgrade' in attempt to get all the security updates, assuming that's what said commands do. Along the way exim (exim4) and possibly other programs (not confirmed) gets installed and is setup to run on bootup...despite it not being installed previously. Why is this? I would expect that either 1) previously uninstalled pkgs are not installed with the 'upgrade," or 2) if 'upgrade' essentially performing a "install everything that's not already installed" maneuver, I wonder why it's not installing a LOT more packages (then just the view I see installed on my system during the 'upgrade.')
Separately: can someone confirm an 'apt-get update' followed by apt-get upgrade' on a fresh Debian 5.0 install system will basically upgrade to 5.0.8 ("current rev level" for lenny)?
I have a new hard-drive and have installed squeeze using CD 1. As my mobile broadband is the only way I can connect to the internet, how do I get it working on a fresh install?
I just downloaded the Debian (Squeeze) businesscard 'netinst' ISO and every time I attempted to run an install, I keep getting the following error:http://yfrog.com/ngdeberrorp
trying to get wireless usb's to work with a fresh install of Squeeze and I'm having no luck!one is the rt28070 (Linksys) and the other one is a D-Link DWL-132 I'm at my wits end; trying to get this working for a friend and its driving me bananas!!
I have an HDMI connected monitor with speakers but I don't get any sound after a fresh install. My computer ain't nothing fancy, my specifications can be found in my current board signature.
I have zero experience configuring devices on Linux. It's rather depressing not being able to listen to music.