Search Results

Search: Posts Made By: sandeepyes
1,410
Posted By sandeepyes
hi ahmed, I am using MontaVista Linux. I...
hi ahmed,
I am using MontaVista Linux. I am not supposed to give options in useradd. I ll simply create users. They will get default permission. I want to change those default permissions.
...
6,751
Posted By sandeepyes
if you want mathematical code then here it is: ...
if you want mathematical code then here it is:
$tmp=$ecode;
$count=0;

while($tmp>0)
{ $tmp=$tmp/10; $count++; }

$output=$ecode;
$character=9;

for($i=0;$i<$length-$count;$i++)
{ ...
6,751
Posted By sandeepyes
try this: $tmp=$ecode; $count=0; ...
try this:

$tmp=$ecode;
$count=0;

while($tmp>0)
{ $tmp=$tmp/10; $count++; }

$output=$ecode*10^($length-$count);

print $output;
6,751
Posted By sandeepyes
how many zeroes you need to add at the end..? ...
how many zeroes you need to add at the end..?
if it is 4 always then simply multiply that no. by 10000 and then print.
1,410
Posted By sandeepyes
new-user permissions
Hi, i'm using a Unix machine. I login as root. when i create new users using useradd -m <user_name> their home directories will be created in /home/ directory with default permissons of 750. i.e.,...
Showing results 1 to 5 of 5

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