Programming :: Add Linux Users Online?
Jul 6, 2010Im looking for a script that could help me create linux users on my server online using a website.Anybody know where i could find one?or how to make it? not the best with coding doh
View 3 RepliesIm looking for a script that could help me create linux users on my server online using a website.Anybody know where i could find one?or how to make it? not the best with coding doh
View 3 RepliesI work as an system administrator for AIX and Linux servers. We have an FTP server running in Linux which has shared folders to Windows domain using Samba. The new requirement is to map users created to Linux machine to Windows users in such a way that, when a user logins into Windows machine with an ID say "X123" in domain "TEST", his access control to the samba shares should reflect based on the same user ID created in Linux machine.(FYI. Both the Windows and LINUX machines are in same network and domain). Please let me know the step by step procedure to configure Linux machine (smb.conf entries or any new file to be created for user mapping) to identify Windows user Login and provide access restrictions accordingly.
View 1 Replies View RelatedThe title pretty much explains this post: How many true Linux users here on LQ (besides me) are under 18? Please explain your poll votes.
View 14 Replies View RelatedThese r IP provided by my ISP that i've put on Fedora 8:
WAN IP:xxx.xxx.xxx.17 (eth0)
Subnet:255.255.255.252
Gateway:xxx.xxx.xxx.18
Valid static(public) IP set of 2:
IP:xxx.xxx.xxx.147 & 148 (eth1, eth2)
Subnet:255.255.255.240
i want to run xxx.xxx.xxx.147 as a web server & xxx.xxx.xxx.148 as a ftp server. but I'm able to ping only xxx.xxx.xxx.17(WAN IP) from outside world. Can any1 tell me that how can i bring my 147 & 148 IP online without router.
Just a quick question. If I were to use PHP to read an RSS page that is online, what "browser" (user-agent) would the webserver detect my PHPs request as? If that doesn't make any sense I'm referring to information such as Code:Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17 ( .NET CLR 3.5.30729)
View 2 Replies View RelatedI am trying to work on mobile phone programming in Linux platform using C language. Can somebody guide with this? I tried to search the web but I didnt get appropriate site.Also guide me about the mobile phones compliant with linux platform for programming using C language.
View 5 Replies View RelatedI would like to have on a website a notepad ONLINE, so that my friend and me can work on a document TXT together or well we can refresh it every 5min...
well such online notepad is not free... anyone has an idea where it is possible to find the code for this. I am not good in PHP, and not informatician.
I am adding inventory control to our online store here at work and I'm not sure of the best approach.Let's say Customer A and Customer B are both looking at the product page for Product X at the same time, and there is only 1 left in stock. What should happen if both click "add to cart" at (more or less) the same time?hould the last Product X get put "on hold" for one of the customers, and then decremented once the sale is complete? Or should the database decrement the product count, and then increment it if the sale doesn't go through successfully?Is it still possible for both to add it to their cart? Are there any mysql features I can use to ensure both cannot purchase the last product?
View 6 Replies View RelatedI am new to linux and am trying to write a script that will ping IP addresses and say either online or unavailable.
View 3 Replies View RelatedBrowsing some websites I've found a code for online form where a user provides name, number, etc. Everything is created in html/javascript. I'm just wondering whether it's possible to collect this input and present it in a database form so that I'd be able to see who's provided data and all the details they entered.Actually, it doesn't have to be a proper database (it would probably require php/mysql). It could be a weekly/monthly report (a text file) of people who provided details. The website is hosted by a third party company.This is an html bit:
Code:
<body id="main_body" >
<img id="top" src="top.png" alt="">
[code]...
How could I (using c++ language on linux machine) put media stream (like mpeg4 movie) into the udp packets and send it to other computer in the network?
View 1 Replies View RelatedBack at uni I used to love programming in assembly, we used ARM processors and some pre-made boards. Anyway, I'd like to try and get back into it, so I have acquired some basic electronic components, some prototype board, a couple of 12F675 chips and a JDM serial programmer.Now, whilst I could run this from my works laptop on Windows, I'd far prefer to use my Linux desktop! (of course!) I'll be using my favourite editor to write the code so not bothered about an all singing and dancing IDE.I have a couple of questions...
1) What can I use to assembly/compile the source code? Does gcc have any support? If not, can someone recommend a free assembler, ideally command line?
2) Is there any good simulator software out there (I've found a few but not found people who have actually used them)? It would be useful to be able to run the code through a simulator before actually uploading to the chip - saves time and effort uploading something to find I've missed a command out!
3) Any useful links, tutorials, forums?
4) Any other resources? Like I said, I can (or at least used to be able to! ) write code for an ARM chip but the instruction set it different for this. I can easily pick up languages though so not too bothered about learning from scratch. I know people will say use c, but I'd far prefer to go down the ASM route, just for my own benefit and enjoyment!
This isn't for any particular project, it's just a hobby - once I've got a sound grounding then I'll start looking at a few more elaborate things!
I'm creating a website to sell some materials, but I don't know how to do online payment. How it works online payment?
View 2 Replies View RelatedI would like to unzip a simple PHP code files, to have a online PHP contact / phone book. Simply, slow, and not database oriented over complicated setups into settings. I have a PHP / web provider (free), not apache. WITHOUT SQL (like before it may exists) something like this [URL]
View 14 Replies View RelatedIm somewhat new at perl and was wondering if there was a way to run a perl script or tool made from perl, from a USB pen that would work both on Linux and on Windows?
View 1 Replies View RelatedI have recently been getting into kernel development and was wondering whether the Linux kernel or BSD kernel would be easiest for newbies (such as myself). Does anyone know? I am really considering BSD because it seems to me to have the best documentation.
View 2 Replies View RelatedI need to measure the time it takes for a program I'm writing to do Its job in microseconds resolution. I'm using Ubuntu 10.10. My Idea is, to write a device driver that directly reads the counter that produces the interrupt of RTC ticks. How do I do this, for a Linux kernel and a PC hardware?
View 4 Replies View RelatedI'm running debian testing on my armhf machine. I need to install linux headers after searching with apt-cache. I ran the command
Code: Select allsudo apt-get install linux-headers-3.16.0-4-all-armhf
But it says it will also install gcc-4.8.. I checked my gcc version which is 4.9. and running. sudo apt-get install gcc . says gcc is already the new version.How do i install the headers without installing gcc-4.8
2 Questions:
1) Is there a dedicated forum on the net for people writing Linux drivers?
2) I've been reading over how Linux drivers are put together and even made my own dummy driver. However, before I begin writing the "real" driver I set out to write, I would like someone with some driver writing experience to verify that my knowledge is correct.
The driver I intend to write is for a PCI card. The very first thing I need is to know is the vendor ID and device ID of the card. After having that information, I can then use the pci_register_driver command to open a connection to the card. At this point, I need to use the pci_*_config_* commands (an example of a pci_*_config_* command is pci_read_config_byte) to figure out where the device is mapped in memory and what I/O ports I need. Now, the pci_* breed of commands take a parameter integer (which is an address) as there second argument. The address(es) which I will use and what they accomplish is device dependent. At this point, after having otained the I/O ports I need, I can then begin writing to them via the inb, outb, etc commands. Writing to X port will have Y result but this is vendor specific.
I want to compile mysql for arm9 linux box, I did not find any good resource.
View 5 Replies View Relatedi have wrote a long piece of code above with the "main" which is calling openFile( &fout, filename )filename contains the txt name in a form of "data.txt"i wanna read the data from the file and output it into fout for later use.the data in that file is a vector looking interger group.i have the following code:
int openFile( ofstream * fout, const char * filename)
{
ifstream iFile(filename);
[code]...
I'm looking for an app for Linux that creates bootable images. Back when I used windows, I used Imgburn. Now, I need an app like that for Linux. Wherever I looked online, I saw either one (or both) of these ideas.
1. Run Imgburn under wine
2. Get k3b
I don't like using wine because the programs run very slow. I'm not sure exactly how to get k3b to produce a bootable image. So that's where I'm stuck.
I'm trying to compile a Linux kernel module called hello-2.c using the command "make -C /lib/modules/$(uname -r)/build M=${PWD} modules" (without the quotes) (which I found online), and the following is the (seemingly successful) output.:
Code: Select allmake: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
However, I don't see a hello-2.ko (in the same folder or anywhere else for that matter). I'm Using Debian GNU/Linux 7.6.
Everything I am doing is within a folder/directory called "thefolder" (without the quotes) in the "/tmp" directory (without the quotes).
Why I can't see a hello-2.ko, and what to do to get it?
I am a newbie in perl and I am trying to develop a script that should try to login on all windows machine in a LAN say 192.168.100.0/24 with a given username and password. I am not sure wether it will use RDP or any other protocol, so I am getting confused how to proceed.
View 3 Replies View Relatedi am again stuck with the same problem. I need to run an executable which i got from University of Edinburgh.
View 14 Replies View Relatedhow to perform floating point operations in kernel? i answered that its impossible to perform floating point operations in kernel.but he is telling that its possible but with some feature to be added.can any body know about this perfectly??
View 1 Replies View Relatedif anyone of you have shifted using Paid Red Hat Linux with CentOS, and what are your experiences of moving from Paid Linux to Unpaid Linux CenOS. When do you suggest a person use Paid Linux and when to use Unpaid Linux?
View 1 Replies View RelatedI have learnt that the network locked huawei modems may be unlocked to use any sim card bu getting a special unlock code and it should ask for it when a "foreign" SIM card is inserted. This procedure works well in Windows, but in Linux where I use wvdial, I dont get prompted for this unlock code. Does anyone know how to insert the unlock code in Linux using any Linux tool (GAMMU/GNOKII/Minicom etc)?
View 2 Replies View Relatedi would just like to verify that the command
lspci would show the FC adapter installed
is there any other command that i can use to verify the FC adapter is being installed
I have a useradd script that can be found here: [Bash] #!/bin/bash #useradd script while true; do echo Please Enter First Name - Pastebin.com.I need to add users that have the same name, while keeping with the current scheme, I'd just like to have numbers at the end of the user, for example joeuser, joeuser1, joeuser2... Basically, keeping with the current naming scheme, I would like to modify the script to automatically add a number to the end of the username when I have users that have the same name.
View 4 Replies View Related