Search Results

Search: Posts Made By: BearCheese
Forum: Red Hat 08-16-2013
5,238
Posted By BearCheese
This one fails saying the group I want to add...
This one fails saying the group I want to add doesn't exist in /etc/group
Actually this gives the clue that most of our groups and account are created in LDAP. I think the reason I can't add root...
Forum: Red Hat 08-16-2013
5,238
Posted By BearCheese
"sudo -i" didn't switch user. I tried the rest -...
"sudo -i" didn't switch user. I tried the rest - unfortunately no luck.

[root@hostname bin]# id
uid=0(root) gid=0(root) groups=0(root)
[root@hostname bin]# usermod -a -G 301,303,302 root...
Forum: Red Hat 08-16-2013
5,238
Posted By BearCheese
[root@hostname ~]# nscd -i group [root@hostname...
[root@hostname ~]# nscd -i group
[root@hostname ~]# id
uid=0(root) gid=0(root) groups=0(root)

Unfortunately issue is still there.

logged out and back on with root and user still doesn't have...
Forum: Red Hat 08-16-2013
5,238
Posted By BearCheese
Usermod doesn't work on root
Hi, I am root user. I need to add more groups to the account. I usse the below command but no apparent result

[root@hostname ~]# id
uid=0(root) gid=0(root) groups=0(root)
[root@hostname ~]#...
9,762
Posted By BearCheese
Nohup in conjunction with time
hi,
if I exectute "nohup time ls -1" I get the following output

[user@hostname directory]$ nohup time ls -1
file_1
file_2
file_3
file_4
file_5
0.000u 0.001s 0:00.00 0.0% 0+0k 0+0io...
6,078
Posted By BearCheese
Thanks guys!
Thanks guys!
6,078
Posted By BearCheese
Hi, thanks for your reply - no it's not a...
Hi,
thanks for your reply - no it's not a homework. I would like to create a script for SAP application that can be used for mass transportation.

To be more precise the command would like the...
6,078
Posted By BearCheese
read file column and paste it in command
Hi Unix gurus

I have a file containing 2 coloumns. I would like to do a script which reads the lines and executes a command like this:

command <field1> parameters <field2> some more parameters...
Forum: HP-UX 08-24-2008
4,543
Posted By BearCheese
Auto X when Login
Hi All,
We have some HP unix servers and sometimes we logon there thru a dedicated Windows server that has Reflection X on it in case we need X. In this case we always need to export...
10,900
Posted By BearCheese
Thank you! Now I have a file with the content...
Thank you!
Now I have a file with the content like this:
20070711172841 905994
20070711172822 905994
20070711171431 906608
20070711171412 906608
20070711171142 905994
20070711171140 905994...
10,900
Posted By BearCheese
sort / cut question
Hi All,

I have a small problem, hope you can help me out here.

I have a file that contains the same format of lines in 99% of the cases.
906516 XYZ.NNN V 0000 20070711164648 userID1 ...
1,802
Posted By BearCheese
My script does not work - could you pls help?
Hi all,
I put together a script that seems not working as I would like to and after spending hours to find the problem I decided to ask your help.
The thing I am trying to do is call AWK command...
27,699
Posted By BearCheese
Pass script variable value to AWK
HI all,

some more mistery about AWK, I hope you can help me out:
1)
I have a normal ksh script and sometime I call awk command. I set some variables in the script and I would like to use them...
5,029
Posted By BearCheese
Thank you all, I used your solutions and...
Thank you all, I used your solutions and everything is fine now!
Cheers
BearCheese
5,029
Posted By BearCheese
Several Q's around AWK
Hi All,
I read through the already existing AWK topics but could not find answers, so please help me out here:

Question1)
Scenario: there is a file containing lines and in each line there is a...
Showing results 1 to 15 of 15

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