Search Results

Search: Posts Made By: amitpansuria
2,364
Posted By amitpansuria
thx for your reply. Now I want to following...
thx for your reply.
Now I want to following lines to .fdict file . also if this line already exist then dont want to add. tell me how to write such effiecient script
CURPHONER:2:N:Phone used to...
1,492
Posted By amitpansuria
I m changing my problem stateemnt little. ...
I m changing my problem stateemnt little.

suppose I have two files list1.cfg and list2.cfg
both files contains differentrecords details
like
List1.cfg
NAME1:25:C:NAME LINE1:
NAME2:25:C:NAME...
1,492
Posted By amitpansuria
shell script problem
I have one file list.fdict which contains recordname and its details.

like :

NAME1:25:C:NAME LINE1:
NAME2:25:C:NAME LINE2:
CITY:25:C:City:
STATE:2:C:State:
ZIPCODE:5:N:ZIPCODE:...
2,364
Posted By amitpansuria
Helo I want to change my problem statement...
Helo I want to change my problem statement little.

CURPHONER:2:N:Phone used to call a record on which a recall is set
PHONECNTR:2:N:Number of attemmpts at calling RECALLNUMBER to the
to the...
2,364
Posted By amitpansuria
how to write shell scrit which adds parameters to existing files
Helo I have one file in that one filed is there

RECLEN: 5

now I want to write a shell script which incresaes the value of RECLEN by 126
as well as I want to write shell script which adds ...
5,612
Posted By amitpansuria
We are adding 1000 users having secondary group....
We are adding 1000 users having secondary group. After adding 1000 users, Line of secondary group contains 7053 characters.

Is there any way to change LINE_MAX value of OS ???
Currently LINE_MAX...
5,612
Posted By amitpansuria
is it possible to have a 1000 user in single group
I m usi ng RHEL 4 and /etc/group file contains line 7000 characters.
so it is possible to have a 1000 user in single group
Forum: Programming 11-11-2008
12,394
Posted By amitpansuria
how to check and remove leading zeroes from the buffer using c program
Helo ,
I m writing small module of c.on RHEL 4

I have one buffer (for e.g. buffer = "002"
now I want to check whethere buffer contains leading zeroes and if it contains
leading zeroes then I...
22,673
Posted By amitpansuria
Hi nitin, I already have install following...
Hi nitin,

I already have install following package installed on my system.

$ rpm -qa |grep authconfig
authconfig-4.6.10-rhel4.3

more -ever It accept more than 12 character password but when...
22,673
Posted By amitpansuria
when i used on the command prompt: ...
when i used on the command prompt:

authconfig --passalgo md5

$ authconfig --passalgo md5
authconfig: bad argument --passalgo: unknown option


Regards,
Amit
22,673
Posted By amitpansuria
helo nitin I have added above line password ...
helo nitin I have added above line

password required pam_unix.so nullok obscure min=6 max=15

in /etc/pam/d/login and I have also line

password sufficient ...
22,673
Posted By amitpansuria
Hi Nitin thx for your reply. ...
Hi Nitin thx for your reply.

/etc/pam.d/passwd file contains following(its passwd file not common-passwd)

#%PAM-1.0
auth required pam_stack.so service=system-auth
account ...
7,635
Posted By amitpansuria
Helo Jim thx again for replying me quickly. ...
Helo Jim thx again for replying me quickly.

I have one more dought again

My problem is that suppose create a user and give a 12 character password . It will accept this password.

But when I...
7,635
Posted By amitpansuria
Helo Jim thx for replying me. I m new in PAM...
Helo Jim thx for replying me.

I m new in PAM stuff. I read man page but still confused.
can You tell me how do I change that line pam_cracklib.so so that I have a large value of minlen?
...
7,635
Posted By amitpansuria
Linux PAM:passwd: how many character validate
Helo I m using PAM module on linux system

I have one strange problem.
I have create user and assigned group using my own function.

I m giving more than 8 character password.
Now when I enter...
22,673
Posted By amitpansuria
also see my /etc/pam.d/system-auth entry are...
also see my /etc/pam.d/system-auth entry are given bewlo

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required ...
22,673
Posted By amitpansuria
Hi nitin thx for reply. I have check thhe...
Hi nitin thx for reply.

I have check thhe entry of file passwd in /etc/pam.d . the entrty for this is:

#%PAM-1.0
auth required pam_stack.so service=system-auth
account required ...
1,930
Posted By amitpansuria
user is not able to FTP to system.
Helo,
I have created one group called RBAC.(roll back access control)

Now when I created user of RBAC its entry in /etc/passwd file is given below:

roleadm:x:120:109:RBAC...
22,673
Posted By amitpansuria
password verification verify password of a user for only first 8 characters
Helo ,
I m using linux pam library for user and its password authentication.
I m creating new user and giving its password.I m giving password of 10 characters.now when I login in as that newly...
1,834
Posted By amitpansuria
Regarding backup
Hello,
Thanks for your reply.

Now I want to list volume information using ( Display the creation information of the backup media) using tar

In my HP ux system when I say Display List voulme...
1,834
Posted By amitpansuria
regarding shell script
helo I m porting my code from HP ux to linux RHEL 4

In one of my shell script for taking backup and to List archive volume information

I m using folliowing code


if [ "$MODE" != "DVD" ]...
Forum: Programming 10-06-2008
3,701
Posted By amitpansuria
how to check whether given numbe ris hex or not
helo I have particular number

lets say 0x56

now thropugh c program how to check this number is hex or not

Regards,
Amit
Forum: Programming 10-03-2008
4,862
Posted By amitpansuria
Helo thx for replying me. I completely agree...
Helo thx for replying me.
I completely agree with you but problem is that
one of my function in file is appening " " for some other functionality
so that If enter filename as blank it will...
Forum: Programming 10-03-2008
4,862
Posted By amitpansuria
helo I try if(filename[0] == '\0') { } ...
helo I try if(filename[0] == '\0') {
}

but it was not working

actuall i got filename= " ",`\0`

so how do I do

I also try f (filename[0] == " ",'\0') {
}

but that also not...
Forum: Programming 10-02-2008
3,482
Posted By amitpansuria
helo thx for yr help. I want to write a...
helo thx for yr help.

I want to write a program in c:

I have one binary which create different users and u can log in with that user.

Now,I m creating a particular file usinag a particular...
Showing results 1 to 25 of 91

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