Search Results

Search: Posts Made By: sumsin
Forum: Programming 03-13-2006
7,221
Posted By sumsin
but is there any other way to do so? Because...
but is there any other way to do so?
Because when I create a variable two or more times it is added that many time in the file.
And I also wnat to edit the variables through my program...
Forum: Programming 03-10-2006
7,221
Posted By sumsin
but what I am thinking that ... I write these...
but what I am thinking that ... I write these variables in one of my private file say ".myprogram_profile" at $HOME dir, then source this private file in .bash_profile so that the newly created...
Forum: Programming 03-10-2006
7,221
Posted By sumsin
environment variables
hi,

I want to create a new EV(Environment Variable) through a c program and I done this thing through setenv() method. But the newly created EV is not permanent, i.e. when I exit from the program...
Forum: Linux 01-17-2006
5,127
Posted By sumsin
Apache Portable Runtime
Hi
I am starting a project in which I want to use APR for
portability.
I download APR version 1.2.2 from "http://apr.apache.org/download.cgi#apr1"
and I am using Redhat/Linux 9.
As I am a...
Forum: Programming 01-12-2006
3,083
Posted By sumsin
starting with APR (Apache Portable Runtime)
Hi

I am new to APR and I started programming using APR 1.2.2.
So please guide me how to start learning it?
2,746
Posted By sumsin
tyoes of API
What is Low-Level API and High-Level API?
Forum: SuSE 12-01-2005
156,700
Posted By sumsin
processor : 0 vendor_id :...
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.26GHz
stepping : 9
cpu MHz : 2260.961...
Forum: Programming 11-30-2005
6,243
Posted By sumsin
thanks vino. But what I want to ask is what...
thanks vino.

But what I want to ask is what is the STANDARD way to do this thing?

your way or by normal if-else.
Forum: Programming 11-30-2005
6,243
Posted By sumsin
thanks for your valuable explaination. Now I...
thanks for your valuable explaination.

Now I am controlling the printing the message with normal if-else.

And one more thing : Should logging controlled with nornal if-else or preprocessor...
Forum: Programming 11-28-2005
6,243
Posted By sumsin
pre defined variables
Hi

First I want to explain the scenerio :
In my project I want to control the printing of some messages. Thats why I use
#ifdef MESSAGE
------------print message--------------
#endif

And...
Forum: Programming 11-23-2005
2,838
Posted By sumsin
thanks but by 'optional logging' I mean that...
thanks

but by 'optional logging' I mean that if I use the compilor option -DLOGFILE at compile time, the logging turns on and if I not use this the logging remains turn off, since I am writing log...
Forum: Programming 11-21-2005
2,838
Posted By sumsin
Logging
Hi

How to manage logging in an application.
Actually I am developing a Client-Server application in c/c++ and want to manage an optional logging in my application, but since prior I have never...
Forum: Programming 11-21-2005
10,826
Posted By sumsin
thanks kdesu is GUI flavour of su. but i...
thanks

kdesu is GUI flavour of su.
but i want to implement it after execution of the program.
mean...

I execute my application say ( ./test )
then I check the user inside the application...
Forum: Programming 11-19-2005
10,826
Posted By sumsin
thanks Perderabo but this way I have to know...
thanks Perderabo

but this way I have to know the encrypted password of root in advance ( I think that also need root priveleges ) and if root change its password then!

( Actually I want to...
Forum: Programming 11-18-2005
10,826
Posted By sumsin
thanks Perderabo but I want to run it in GUI...
thanks Perderabo

but I want to run it in GUI mode, so how I use it?
Forum: Programming 11-17-2005
3,795
Posted By sumsin
default location of libs in dlopen
Hi

Where is the default location of libs to search, when we specify any lib in dlopen function.
And if we want to specify a custom location, how will we do it?

thanks.
Forum: Programming 11-17-2005
5,862
Posted By sumsin
thanks andryk objdump command gives a...
thanks andryk

objdump command gives a detailed information about exe.

Now what I want is ' to extract ( or make with combination of two or more fields ) a unigue id of that exe file' that can...
Forum: Programming 11-17-2005
5,862
Posted By sumsin
but when I use the command to find info of...
but when I use the command to find info of windows executable (taken from my windows machine ) it gives no result.
$ ident ~/WINWORD.EXE
~/WINWORD.EXE:
ident warning: no id keywords in...
Forum: Programming 11-16-2005
5,862
Posted By sumsin
tell somehing more. is the what utility is...
tell somehing more.

is the what utility is in unix?

Can we get the info from programming(C/C++)?
Forum: Programming 11-16-2005
5,862
Posted By sumsin
exe info
Hi

Is it possible to find all the information like its 'ProductName', 'ProductVersion, ''InternalName' , 'FileVersion' etc about a windows excutable file,( i.e. *.exe file ) on Unix/Linux.
...
Forum: Programming 11-16-2005
10,826
Posted By sumsin
$ uname -a Linux sumit 2.4.20-8 #1 Thu Mar 13...
$ uname -a
Linux sumit 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux

but stil I am not sure which encryption algorithm should use to encrypt the password.

thanks

sumsin
Forum: Programming 11-15-2005
10,826
Posted By sumsin
but how an encrypted password compare with a...
but how an encrypted password compare with a non-encrypted password.
Forum: Programming 11-15-2005
10,826
Posted By sumsin
Ya thats fine, but where I am in the trouble...
Ya thats fine, but where I am in the trouble is...

let the current user is not root.
so I prompt an input dialog box( in Qt password mode ).
if user enters a wrong password it must exit.
else...
Forum: Programming 11-15-2005
10,826
Posted By sumsin
but I also want to prompt the user to enter 'root...
but I also want to prompt the user to enter 'root password' and if this is not valid root password the program will exit.

In ur solution we are only checking that if the current user is root...
Forum: Programming 11-14-2005
10,826
Posted By sumsin
root privileges
Hi

I have make a program that needs root privleges but any user can try to run it, so what I want it is, when any user tries( other than root ) to run the program, an input prompt would open to...
Showing results 1 to 25 of 25

 
All times are GMT -4. The time now is 12:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy