Debian Configuration :: Wireless Networking For Multiple Users?
Dec 4, 2010
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 have a laptop running Debian Squeeze that has one wifi nic - wlan0. The ethernet nic eth0 is faulty.I have configured /etc/network/interfaces to enable wlan0 to access my home wireless LAN. The SSID for this connection is wlan1 and the security used is WPA2.A second SSID configured for the wireless LAN is wlan2 and the security used on this second SSID is WPA.Is it possible to configure wifi networking on this laptop to be able to connect to this wifi network using either SSID - wlan1 or wlan2 - via the laptop's sole network interface, wlan0?
I'm in the process of starting a migration from an old postfix server to nice shiney new exim server however there are a few things i'm really not clear on and i'm hoping that some one here could point me in the correct direction. Okay the postfix server at the moment does the follwoing ( i'll try and keep this simple ):
* accepts incoming mail for users on multiple domains and puts the mail in the users mailbox ( external -> internal )
*accepts mail from users on multiple domains to pass on to the outside world ( internal -> external )
Obviously the POP and Imap functions are handled by other daemons.. I'd like to replicate this sort of setup on the new exim box, however the guides i can find only help with configuring the exim system for incoming mails ( external -> internal ) for multiple domains and i cant seem to find a guide that would indicate how to do both ( internal -> external and external -> internal ) on one box. I'm guessing i may have to do some sort of auth to get exim to accept and then handle the internal -> external side of things?
I installed Debian 6.0 on my hp dv400 laptop, Ive been using linux ubuntu for a while now and my wireless card has always been picked up but after isntalling Debian its not working. This is what I have. Also I cant seem to install awn for some reason.
I have set up a small Mesh Wireless Hotspot at a local Flea Market. My plan is to add in one of those HotSpot services for billing and such..ut until I have enough users to justify that expenditure, I am just going to manually set up accounts.The system is all up and running as an OPEN SYSTEM. Users are able to access the net just fine thru my existing setup.My question is, how can I create user accounts so that users of my wireless network will have a username and password that they can log in with
I find FTP server software confusing in Linux. Using ServU for Windows for an example, all I need to do is to create users via the ServU interface and choose a folder I want that user to have access to and their permissions, and viola, they can connect to that directory, and that directory only.
But in the the land of Linux, it apparently can't be managed this easy. I have a web server with multiple domains, and therefore multiple users need access to their own web root. So with that in mind, what FTP server software should I use (there are plenty out there) and how would I go about to create a user per domain, so that they can log in using FTP to manage their site, and only have access to their own web root, and nothing else?
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 am looking for solution that would allow multiple users distributed over several offices in several countries to access one corporate file depository. The features I am looking for, are as follows:
- There should be the way to establish user groups and then define for each folder access level (read/write) for every user/group. Every users is given his login and password. - This file depository should be accessed from both Linux and Windows clients - There should be a way how to sync certain folders/files on one's PC so that it is possible to work off-line and then sync back to the common depository.
Then I plan to launch some regular backup routine on that folder where all the files of depository are kept. I can imagine that the solution could be involving several tools, ie access for Windows users might involve setting up samba server, but I don't know how to establish all the limited access stuff for Win clients via samba.
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 firstname.lastname@example.orgI'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 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 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 have a Debian server that had only one onboard NIC (1000 Gbps) but now I've added two PCI Intel Pro 1000 NIC's into the system to bump up the total # of NIC's to three. My question now is can I specifically assign or force Debian which interface to configure as ethx? I would always like my onboard NIC to be 'eth0' and the two additional NIC's to be 'eth1' and 'eth2'. For some reason Debian loads the modules at random and sometimes what was my
I have setup Postfix + Dovecot on my basic debian 5 server. If I send a message to a email@example.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 renting a server which comes with 5 IP addresses, but only one network device. From what I can understand I'm able to create aliases by adding entries to /etc/networks/interfaces, I haven't tried I'm in the planning stages. Hypothetically, 192.168.22.30 is my primary IP and I want to set eth0:1 to have 192.168.22.31, and then after that I want to create a virtual machine (using kvm/qemu) that is able to communicate bidirectionally to the internet over eth0:1, and leave eth0 strictly for administrating (not for VM traffic).
The qemu guides I'm finding seem to assume that I want to use TAP or VDE, what I want to use is a sub-ip/alias. One guide I saw had me eliminate everything from eth0 and put it under br0. That would leave me unable to ssh into my server (and unable to administrate). Is there a way I can do something along the lines of: qemu [options] -net [option] -netdev=eth0:1 ?
I'm trying to setup a DHCP server that serves several different VLANs, we have 5 in total. Our network is working correctly, with static IPs, we're able to ping across without any issues.
When I connect my debian box to an interface on VLAN5, statically assign an address in the correct range, it works. Similarly with all other VLANs.
To configure this box as a DHCP, I set one of the ports on the switch as trunk, connect that to the debian box to allow all VLAN traffic to reach my debian box.
I setup DHCP following the steps on [URL] ....
Then I configured different VLANs by following the steps on [URL] .....
However, with the vlans setup, I am unable to ping anything. This is essentially what I did.
Code: Select allSet the port on the switch to trunk with 802.1 encapsulation disable eth0 vconfig add eth0 5 # to add vlan 5 ifconfig eth0.5 192.168.5.254 netmask 255.255.255.0 up vconfig add eth0 5 # to add vlan 10 ifconfig eth0.5 192.168.10.254 netmask 255.255.255.0 up
I do not know why I am unable to get any connectivity through my VLAN interfaces.
I was wondering if/how it would be possible to compile a kernel package where two featuresets are applied. I notice that xen-vserver seems to have been done and wanted to make a xen-openvz kernel if possible to use VZ containers in a Xen DomU. I've tried reading the metadata files in the debian/ dir of the kernel source but there seems to be a lot "going on" and I couldn't make much sense of it...
I have several mails which I want to scan by using spamc and thats the problem.
It works when I use just one mail message as a parameter of spamc. E.g. spamc -c < 17383. BUT when I want to pass several messages on spamc e.g. spamc -c < 17383. 18974.(spamc scan just the first message) OR when I use a whole directory e.g. spamc < ./test/* it doesnt work. (output: -bash: ./test/*: ambiguous redirect)
how to pass multiple files in command line on spamc? I know - I can create a script, but I would be glad if it worked for testing in CLI (command above).
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:
The first thing that comes to my mind is to add (copy) the script in /etc/init.d and the /etc/rc* directories by hand. Debian's automatic handling of init scripts on package install/removal is quite nice, so I tend to shy away from making any manual changes if there's an automated way to do it. Which leads me to the question: is there an official way to run a second instance of a daemon? (Tried google, didn't find much more than a bug report).
I have a rather urgent problem with my network, I got two virtual network interfaces one internal and one external. The problem is; I can't get connection to internet. The external NIC is set as a NAT and the internal is... internal.