Search Results

Search: Posts Made By: Kits
Forum: HP-UX 12-26-2013
1,526
Posted By Kits
Unable to get full FS space after mounting
Hi,
I am unable to get the full FS space, as /home is 100% utilized and after deleting unwanted files, its still 100%. After checking the du -sk * | sort -n output and converting it to MBs, the...
Forum: HP-UX 09-24-2013
4,237
Posted By Kits
Unable to edit the sudoers file using script
Hi All,

I've made a script in order to delete the users. The script is deleting the users and removing its entry from the /etc/sudoers however it is changing the permissions of the /etc/sudoers...
Forum: HP-UX 09-24-2013
8,749
Posted By Kits
It was due to mail log size was 2 GB, its now...
It was due to mail log size was 2 GB, its now resolved. Thanks for the help :)
Forum: HP-UX 09-15-2013
8,749
Posted By Kits
Syslog daemon isn't working
Hi All,

I've tried starting syslogd on our hp-ux 11.31 server. However, it is not getting started nor it is updating the syslog file.

There is no space issue also. However, the mail.log file is...
4,047
Posted By Kits
The user which is executing the script is added...
The user which is executing the script is added into the sudoers of the remote machine also the permissions of the sudoers file are given below:


# grep -i testmgmt /etc/sudoers
testmgmt ...
4,047
Posted By Kits
Unable to edit file remotely using ssh
Hi,

I am trying to edit the /etc/sudoers file using ksh, however I am unable to do that. Please find the code below:


ssh $i "/usr/local/bin/sudo /usr/bin/echo "$user_id ALL=(ALL) ALL" >>...
4,634
Posted By Kits
Script to set password in HP-UX 11.31
Hi,

I am unable to set the password remotely. I am using the script as below:



ep=`echo "$p" | /usr/lbin/makekey`

ssh -t $i "/usr/local/bin/sudo useradd -c "$user_c" -m -d /home/$user_id...
Forum: HP-UX 08-14-2013
2,737
Posted By Kits
Thanks Don :) That is really a useful...
Thanks Don :)

That is really a useful information.
Forum: HP-UX 08-14-2013
2,737
Posted By Kits
Thanks Krishmaths :)
Thanks Krishmaths :)
Forum: HP-UX 08-14-2013
2,737
Posted By Kits
Thanks Krishmaths, However, I need flexible...
Thanks Krishmaths,

However, I need flexible output not confined to one date. Like if the dates are 1 - 9 I can grep the first two values from date including the two spaces and after 9 i.e. from 10...
Forum: HP-UX 08-14-2013
2,737
Posted By Kits
Unable to pass a space inside a variable shell scripting
Can anyone help me in solving this ?

p=`date`
e=`echo $p | awk '{print $2,$3}'`
# echo $p
Wed Aug 4 12:00:08 IST 2013

but when I am echoing the value of e it is giving me with one space. As...
Showing results 1 to 11 of 11

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