ifconfig without being root

2003-08-14 Thread Sylvain Masnada
Hi, I'd like to know how is it possible to run a perl program in which I could set up an IP adress without being root. I manage a wi-fi network and I'd like to set up the users'IP address to filter them. The users are not supposed to have a dhcp client. So when they connect themselves to the wire

module install

2003-07-28 Thread Sylvain Masnada
Hi all, I have to install the openCA::X509 module for openCA. I need some modules that I installed successfully thanks to perl -MCPAN -eshell. But I get error when installing OpenCA::X509 module (I installed OpenCA::OpenSSL successfully). Can anybody help me please. Thanks Sylvain [EMAIL PROTEC

Re: newbie : obtain gid of the current user

2003-07-17 Thread Sylvain Masnada
Hi again and thx John for you help. > > Hi all, > > Hello, > > > I'd like to get a script which allows me to get the gid of the > > user which is connected currently. > > I've done this "script" which is not very useful for me because > > I have to run it like this : > > id | myscript.pl > > You

Re: newbie : obtain gid of the current user

2003-07-17 Thread Sylvain Masnada
Hi again and thx John for you help. > > Hi all, > > Hello, > > > I'd like to get a script which allows me to get the gid of the > > user which is connected currently. > > I've done this "script" which is not very useful for me because > > I have to run it like this : > > id | myscript.pl > > You

newbie : obtain gid of the current user

2003-07-16 Thread Sylvain Masnada
Hi all, I'd like to get a script which allows me to get the gid of the user which is connected currently. I've done this "script" which is not very useful for me because I have to run it like this : id | myscript.pl My script is : while(<>) { if(/^uid=\d+.\w+.\sgid=(\d+)/) { $g