I want to give permission to sudo user for editing network files such as /etc/hosts, /etc/sysconfig/network-scripts/ifcfg-eth0, /etc/sysconfig/network, /etc/init.d/network restart.
I have edited sudoers files for temp user like below but it didn't work. I can't edit hosts file, it is only read-only files.
I am wondering how can I give full permission to temp user for above files.
Hello Again,
Those that have noticed my earlier posts will know that I have succesfully installed Solaris 8 onto my pc. I haven't been able to get x-server working (i think it doesn't like my video card) though I've been able to log into root (with a bit of help from unix forums :o ) and have... (2 Replies)
Hi all,
I'm trying to generate a series of txt files starting from a plain csv file
part of my code:
#!/bin/ksh
INSTALLDIR=/Users/ME/Installdir
CSV=CSV.csv
TMP=/tmp/$(basename $0).txt
tr -s "\r" "\n" < /$INSTALLDIR/$CSV > $TMP
function Makefiles
{
printf '%24s:%30s\n' "sometext"... (1 Reply)
Hi All,
Can any one help me to solve the issue.
The Issue is, i have started the sendmail service on my RHEL 4 update 6 box, I am able to send the mail from my box to almost all of the Email Id's except few.
Exampe,
test mail.
.
Output is :the message is sent.
now if I send the... (2 Replies)
I am using mailx command in my script to attach a file and send an email. I need to attach a csv file and send email to a mail id -
I am using
uuencode output.csv output.csv | mailx -s "test mail" xyz@abc.com
This will send a mail with scrambled text in body.
am i missing something ?... (4 Replies)
Hi,
I am trying to enable rexec to automate certain tasks(it has to be rexec, not ssh or any other due to the system environment), so after switching to linux, I followed the certain instructions that were laid out in the web.
My operating system is fedora 17, so I first installed the... (1 Reply)
Hi There,
---------
file1
-------
~c asd@ac.com
--------------
Now i am using below command
cat file1|mailx -s " testing" -r " My Name" abc@tech.com (3 Replies)
I want to join two files , with file 1 col 3 and file 2 col 1 as key.
The join command is erratic for some reason. File 2 is a master file having all the names, and file 1 has some values. I want to add the names from fil2 in file 1. If I use the original master file, some output is missing.
... (16 Replies)
I'm using an Ubuntu machine and expansion is not working properly. What would cause this? Do I need to check for any particular bash packages?
$ ipcs -m | grep $USER | awk '{printf "%s ",$2}'
$ ipcs -m | grep UNF | awk '{printf "%s ",$2}'
294912 1048577 425986 688131 786436 1245189... (14 Replies)
Discussion started by: cokedude
14 Replies
LEARN ABOUT OSF1
ip6_setup
ip6_setup(8) System Manager's Manual ip6_setup(8)NAME
ip6_setup - IPv6 configuration program
SYNOPSIS
/usr/sbin/ip6_setup
DESCRIPTION
The ip6_setup utility allows you to configure the IPv6 networking software on your system.
To run ip6_setup, enter the following command and then answer the questions: # ip6_setup
You must know your Internet Protocol Version 6 (IPv6) address. If your network uses subnet routing, you must know the subnet mask for your
network. The network manager should be able to provide you with the information that you need.
After the ip6_setup command completes, the network services on the system can be restarted manually with the following command: #
/usr/sbin/rcinet restart
Before you restart the network services with the preceding command, warn the users that the network services on the system are being
removed. File systems that were not mounted using the /etc/fstab file or the automount command must be unmounted with the unmount command.
You must remount these file systems using the mount command after the network is started on your system.
Alternatively, you can reboot the system with the following command: # /usr/sbin/shutdown -r now
FILES
Specifies the host name file. Specifies the environment variables that define the network configuration on your system. Specifies the
trusted hosts file. Specifies the network name file. Specifies Internet routing information. Specifies Internet routing information.
SEE ALSO
Commands: mount(8), rcinet(8)
Files: gateways(4), hosts(4), hosts.equiv(4), networks(4), routes(4).
Network Administration
ip6_setup(8)