Search Results

Search: Posts Made By: galuzan
Forum: Linux 09-14-2013
2,444
Posted By galuzan
Creating /boot partition for LVM VG
Hi,
I have a server booted into sysresccd (mini-linux OS) with 1 40 GB disk attached
I am trying to create a volume group and restore another server into the new one

However, when I try to...
3,866
Posted By galuzan
ksh scripting, skip server if asks for password with SSH
Hi,
I am running a script that connets to a list of servers with SSH and runs a command but I have some servers that are asking for password (authorized keys is not configured properly).
Is there...
1,270
Posted By galuzan
/usr/xph4/bin/awk is working fine!! thanks!
/usr/xph4/bin/awk is working fine!! thanks!
1,270
Posted By galuzan
Converting HP-UX awk to Solaris
Hi,

I am using awk in HP-UX to enter an encrypted entry of the password into /etc/passwd with success, this is the command I am using and it is working great.

cat /tmp/passwd.gal.before|awk -F:...
1,366
Posted By galuzan
Thank you sir !! its working now
Thank you sir !! its working now
1,366
Posted By galuzan
while read LINE issue
Hi,
This is the script and the error I am receiving
Can anyone please suggest ?

For the exmaple below assume we are using vg01

#!/bin/ksh
echo "##### Max Mount Count Fixer #####"
echo...
6,781
Posted By galuzan
> id -a uid=1000002(galtest1) gid=1(other)...
> id -a
uid=1000002(galtest1) gid=1(other) groups=1(other)
> ls -ld ../tmp
drwxrwxrwt 11 root root 5355 Dec 20 08:35 ../tmp

> echo rstchown/d |mdb -k
mdb: failed to open /dev/mem:...
6,781
Posted By galuzan
chown: <file>: Not owner on Solaris 9
Hi,
on a Solaris 5.9 machine no user except for root is able to use chown.
for exmaple:

> touch iamgal
> ls -la iamgal
-rw-r--r-- 1 galtest1 other 0 Dec 19 08:40 iamgal
> chown...
2,869
Posted By galuzan
no output
no output
2,869
Posted By galuzan
lvrename to a mounted device
Hi,
I wanted to rename a filesystem but I forgot to unmount it before running lvrename and now it is still visible when doing df -k

old name
device:
/dev/mapper/vg01-MGRSTR3
mounted as...
1,195
Posted By galuzan
yeah thats what i ment ok thanks
yeah thats what i ment
ok thanks
1,195
Posted By galuzan
What happens if i unmount local file system when is mounted to a different server?
Hi,
as title says
what happens if i unmount local file system when is mounted to a diffrent server ?
1,343
Posted By galuzan
So the quotes keep the variables to be the same...
So the quotes keep the variables to be the same as I defined on my terminal before I ran the script?
1,343
Posted By galuzan
So 'EOF' can be anything from 'bla' to 'gal' ?
So 'EOF' can be anything from 'bla' to 'gal' ?
1,343
Posted By galuzan
excuse me if my questions are novice when...
excuse me if my questions are novice

when using while read line the loop will read each line seperatley and insert the line into the $LINE variable? And this will read the list from servers.log...
1,343
Posted By galuzan
Dummy script assistance
Hi,
I am new in ksh scripting and if anyone can help that would be great.

I'm writing a script which will SSH to several machines and then would append a certain file from a NAS to the...
Showing results 1 to 16 of 16

 

Featured Tech Videos

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