10 More Discussions You Might Find Interesting
1. HP-UX
Hi All,
We are working on HP_UNIX.
I am facing a strange problem regarding crontab in our unix environment.Whenever a server reboot takes place on our server the old crontab gets reflected due to which several scripts which were earlier uncommented starts running causing a huge problem .Is... (6 Replies)
Discussion started by: ammbhhar
6 Replies
2. Solaris
Does anyone know what is the binary file for seeing the last reboot since my wtmpx file has been dumped as of now and i am not able to see the last reboot with the command "last reboot".
Please don't say uptime, since i want to see the last 4-5 reboots for this server.
Thanks in advance (4 Replies)
Discussion started by: aksijain
4 Replies
3. HP-UX
hi every body
i am trying to remove logical volume i configured as a swap device but when i removed by smh i ran " swapinfo" it keeps the device and didn't feel that device removed also i "lvremove /dev/vg01/swapvol" also swapinfo not feel
i want it feel that i reduced the swap without reboot... (4 Replies)
Discussion started by: maxim42
4 Replies
4. Shell Programming and Scripting
Hi,
I forgot how to start a new thread. :(
Can somebody please guide me?
I have one problem related to /.rhosts file.
According to my understanding, /.rhosts file is used for "rsh". What will happen if I have duplicate entries in this file?
e.g> my .rhosts file looks like
wcars42g... (2 Replies)
Discussion started by: akash_mahakode
2 Replies
5. Shell Programming and Scripting
Hi All,
I have one problem related to /.rhosts file.
According to my understanding, /.rhosts file is used for "rsh". What will happen if I have duplicate entries in this file?
e.g> my .rhosts file looks like
Code:
wcars42g
wcars89j
wcars42g
wcars42b
wcars42b
Will duplicate entries... (1 Reply)
Discussion started by: akash_mahakode
1 Replies
6. Ubuntu
Hi,
I am tryin to install custom software during the linux reboot.
So,I have changed rc.local file, but unfortunately I have added a code that
is going on a infinite loop. And now I am in a pick.
Is there anyway that I can avoid rc.local file while reboot.
Can anyone help me... (1 Reply)
Discussion started by: eamani_sun
1 Replies
7. Shell Programming and Scripting
Hi,
I am tryin to install custom software during the linux reboot.
So,I have changed rc.local file, but unfortunately I have added a code that
is going on a infinite loop. And now I am in a pick.
Is there anyway that I can avoid rc.local file while reboot.
Can anyone help me... (2 Replies)
Discussion started by: eamani_sun
2 Replies
8. Solaris
Hi Guru's
Can any want here could explain to me the different between soft reboot and hard reboot .
Best Regards
Seelan (3 Replies)
Discussion started by: seelan3
3 Replies
9. Red Hat
Hi all,
Thanks for reading and any susequente posts....
... I am running a RedHat Ent 3 server. Anyhow I have to do an rlogin to install some software on the box. The problem is that the solaris box I am trying to do the install from carn't get an rlogin. I have tested this with other... (1 Reply)
Discussion started by: B14speedfreak
1 Replies
10. UNIX for Dummies Questions & Answers
Hello all,
Ok. Here it the scope I have two Redhat 7.2 machine which I use to test things on. I have a home directory which is NFS mounted via NIS. I have a .rhosts file in the directory with the name of the machine and username, with permission 600. Be when I try to run a rsh command I get... (6 Replies)
Discussion started by: larry
6 Replies
rhosts(4) Kernel Interfaces Manual rhosts(4)
NAME
rhosts, .rhosts - Specifies remote users that can use a local user account
SYNOPSIS
$HOME/.rhosts
DESCRIPTION
The .rhosts file contains a list of remote users who are not required to supply a login password when they execute the rcp, rlogin, and rsh
commands using a local user account.
The .rhosts file is a hidden file in your home directory. It must be owned by you or the root user and it must not be writable by group or
world, otherwise, it is not used. Moreover, although it is not required, it is sensible to set the permissions of the file to 600, so the
file is not readable by group or world.
Each entry in the file is of the following form: host [user]
where: The name of the remote host. If the remote host is in a different domain than the local host, the full domain name must be speci-
fied. The login name of the remote user. This field is optional. If this field is not specified, any user on the specified remote host is
exempt from providing a password, and is assumed to have the same username on both the local and remote hosts.
Optionally, an NIS netgroup name can be specified for the host name, user name, or both.
Entries in the .rhosts file are either positive or negative. Positive entries allow access; negative entries deny access. The following
entries are positive: hostname username +@netgroup
In addition, the plus sign (+) can be used in place of the hostname or username. In place of the hostname, it means any remote host. In
place of the username, it means any user.
The following entries are negative: -hostname -username -@netgroup
EXAMPLES
The following sample entries in the /u/chen/.rhosts file on host zeus allow users moshe and pierre at remote host venus and user robert at
the hosts specified in the NIS netgroup chicago to log in to user chen's home directory on host zeus: venus moshe venus pierre +@chicago
robert
FILES
Specifies remote users who can use a local user account.
RELATED INFORMATION
Commands: rcp(1), rlogin(1), rsh(1).
Functions: ruserok(3).
Files: hosts.equiv(4), netgroup(4).
Functions: rcmd(3). delim off
rhosts(4)