02-26-2014
I think you're missing a ; before done.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I have a IP address of the target machine.Is there is any way to find out whether it is a unix box or windows box without logging into it?.
Regs
Anand (5 Replies)
Discussion started by: u449064
5 Replies
2. UNIX Desktop Questions & Answers
Hi
How to create users in the UNIX machine ....
I am the ROOT and i want to create users with normal privileges .
a) Please give the sequence of commands which i need to use.
b) How to set their userid and passwords (3 Replies)
Discussion started by: skyineyes
3 Replies
3. UNIX for Dummies Questions & Answers
Hi I need to copy a file from the remote unix server to windows machine.
I read lot of thrad but didn't worked out.
Requesting all to please help. (2 Replies)
Discussion started by: sameerspice
2 Replies
4. UNIX for Dummies Questions & Answers
Is there a way to find out all users and the UNIX groups they belong to??
:) (3 Replies)
Discussion started by: Hangman2
3 Replies
5. Solaris
Hi All,
I would like know how many of default number of users and groups are there in solaris-10...
Regards
Tirupathi Raju (2 Replies)
Discussion started by: tirupathiraju_t
2 Replies
6. Programming
Hi Friends,
Can some one please guide me on how to make a script run on a remote UNIX machine from a java application.
Or may if you can just tell me how do u ping to the remote UNIX machine using java code.
Been looking for the solution since 5-6 hrs, didn't got any where near :(
Thanks. (1 Reply)
Discussion started by: Sanjay MD
1 Replies
7. Shell Programming and Scripting
how to find out total number of users logged in a server from uptime . i mean to say i need the total output of unix command . who gives the out put at a particular time . I need at all time from which machine who has connected , (3 Replies)
Discussion started by: amiya.te@gmail
3 Replies
8. Solaris
Hi,
I get the below when i try to sftp to a remote server
$ export SOCKS5C_CONFIG=~/.ssh/socks5c.conf
$ sftp -v -s /usr/lib/sftp-server -oPort=2222 -oIdentityFile=~/.ssh/wm_privat>
Connecting to ftp01.wmgruppe.de...
Sun_SSH_1.1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1:... (1 Reply)
Discussion started by: Bigbee
1 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I am working in support and we are planning to automate a system to reduce the direct manual intervention to core system.
Please find the below details.
1. we have a web application that runs on Windows Platform.
2. From web application, we need to connect to remote Unix machine.... (6 Replies)
Discussion started by: Balaji K
6 Replies
10. UNIX for Beginners Questions & Answers
Hi Team,
I got a requirement to send a mail to the individual users of a unix server about their respective groups. can some one help me to provide the script as I am unable to write that.
I tried with below lines but I come out with errors.
cat /etc/passwd | awk -F':' '{ print $1}' |... (6 Replies)
Discussion started by: harshabag
6 Replies
LEARN ABOUT HPUX
netgroup
netgroup(4) Kernel Interfaces Manual netgroup(4)
NAME
netgroup - list of network groups
DESCRIPTION
File defines network-wide groups, and is used for permission checking when executing remote mounts, remote logins, and remote shells. For
remote mounts, the information in classifies machines; for remote logins and remote shells, it classifies users.
Each line of the file defines a group. The items on a line may be separated by a combination of one or more spaces or tabs. The line has
the format
groupname member1 member2 ...
where memberi is either another group name, or a triple.
If any of these three fields is left empty, it signifies a wildcard. Thus
defines a group to which everyone belongs. Field names that begin with something other than a letter, digit or underscore (such as do not
match any value. For example, consider the following entries.
Machine belongs to the group in the domain but no users belong to it. Similarly, the user belongs to the group in the domain but no
machines belong to it.
Note, the domainname field must match the current domain name (as returned by the command), or the entry is not matched. Also, the user-
name field is ignored for remote mounts. Only the hostname and domainname are used.
The Network Information Service (NIS) can serve network groups. When it does, the groups are stored in the following NIS maps:
Refer to ypserv(1M) and ypfiles(4) for an overview of Network Information Service.
AUTHOR
was developed by Sun Microsystems, Inc.
FILES
SEE ALSO
makedbm(1M), mountd(1M), ypmake(1M), ypserv(1M), getnetgrent(3C), hosts.equiv(4), ypfiles(4).
Chapter 7:
netgroup(4)