Search Results

Search: Posts Made By: jmorey
1,402
Posted By jmorey
ok i got one more question lol. i want to...
ok i got one more question lol.
i want to create a directory for a user but make it work for whoever logs on so this is what i issue

my
$whoamI= ("whoami");
chomp

$whoamI;
my
...
1,402
Posted By jmorey
hey Scrutinizer thanks for all your help but i am...
hey Scrutinizer thanks for all your help but i am still a bit confused...
this is what i got
#Edit UDI
print "Hit enter to display a list of users and what UDI/GID have been used.\n";
my $Enter2...
1,402
Posted By jmorey
# Table Maybe???
hey guys I am creating Users in LDAP.
Problem is when I create a User they need to have a uidNumber and a gidNumber and they need to be unique.

the command i issue is:
ldapsearch -x -b...
2,306
Posted By jmorey
thanks so much worked! i have one more...
thanks so much worked!

i have one more question if you can..
how can i make
dc=james,dc=morey,dc=home,dc=com
to be "james.morey.home.com"
in another ldapsearch
so i can put that into...
2,306
Posted By jmorey
but is there a way that to make it run its self...
but is there a way that to make it run its self in a script.. this is the command i am issuing "ldapsearch -x '(dn:=dc)' dc|grep dc="

and the output is "# base <dc=james,dc=morey,dc=home,dc=com>...
2,306
Posted By jmorey
Output into a Variable
i was wondering is there anyway to take the output of a command and put it into a variable??
what i need to to is only take a certain part of the output that lies between <"data needed ">
...
4,433
Posted By jmorey
System Output in to an Array or variable
hey guys in only new to scripting as such, but i have a problem.
i want to take the output of a search i do in the command line to then be in a variable but only a certain part of the output.
...
Showing results 1 to 7 of 7

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