Re: [ilugd] How to create a new linux user on the fly

2005-08-22 Thread Mithun Bhattacharya
Couple of things that can be done are as follows : 1. You use suexec and take let AMS have fun with his bots. 2. You do a sudo and have the same problem as above. In both cases you just hope there are no bugs in your implementation which would result in your system being hacked or made useless lon

Re: [ilugd] How to create a new linux user on the fly

2005-08-21 Thread Sriram J
On 8/21/05, Sharad Birmiwal <[EMAIL PROTECTED]> wrote: > i thought there was some email in this thread about thread hijacking? > > sharad birmiwal please do not hijack threads In case, you have no clue what hijacking the thread means, see http://mm.bbspals.org/general/message-recycling.html for

Re: [ilugd] How to create a new linux user on the fly

2005-08-21 Thread Sharad Birmiwal
i thought there was some email in this thread about thread hijacking? sharad birmiwal On 21 Aug 2005 12:24:51 -, Satnam <[EMAIL PROTECTED]> wrote: > Hi There, > I am a new user and interested in development on linux environment. For this > I have setup SuSE linux on my system. I have a probl

Re: [ilugd] How to create a new linux user on the fly

2005-08-21 Thread Satnam
Hi There, I am a new user and interested in development on linux environment. For this I have setup SuSE linux on my system. I have a problem with my Bluetooth mouse. Linux finds it but somehow not able to use it and even if whenever I plug it in it shows mouse name but after then nothing happe

Re: [ilugd] How to create a new linux user on the fly

2005-08-20 Thread Shivkumar Jagannath
Hi, You have not told us what these linux users will do; will they work as normal linux accounts with shell logins etc? Most people come up with this kinda requirement if all that the user they want to create is going to do is be a mail account i.e not have shell access but only be able

Re: [ilugd] How to create a new linux user on the fly

2005-08-19 Thread Raj Mathur
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Raj" == Raj Shekhar <[EMAIL PROTECTED]> writes: Raj> [snip] Raj> Here is how I did it when I had to do something like this - Raj> create a script to create the user - using sudo allow apache Raj> to run that script without givi

Re: [ilugd] How to create a new linux user on the fly

2005-08-19 Thread Raj Shekhar
Hi Friends, > I wanted to create a linux user on the fly(ie. With mine PERL/CGI > script) . > Is there a method to do so. I am having a webserver with root access. > Pl. reply. Running a apache webserver as root is a bad idea. By default RHEL comes configured to run the webserver as user nobody.

Re: [ilugd] How to create a new linux user on the fly

2005-08-19 Thread Abhijit Menon-Sen
At 2005-08-20 08:05:43 +0530, [EMAIL PROTECTED] wrote: > > worst solution i've ever come up with but it should work :) I really don't think you should advocate running CGI scripts as root, let alone trying to add users based on input from untrusted clients. It's a giant security risk that's waitin

Re: [ilugd] How to create a new linux user on the fly

2005-08-19 Thread Sharad Birmiwal
try system("useradd username"); and then to set passwd, put the passwd in a file 2 to 3 times and system("passwd < file"); worst solution i've ever come up with but it should work :) i'm not sure if your perl scripts will be run as root. try running a script that shows you the effective id? shar

[ilugd] How to create a new linux user on the fly

2005-08-19 Thread Abhishek Jain
Hi Friends, I wanted to create a linux user on the fly(ie. With mine PERL/CGI script) . Is there a method to do so. I am having a webserver with root access. Pl. reply. The distro I will be using is Redhat Enterprise Linux. Thanks for your time and effort. -- Regards, Abhishek jain _