06-11-2009
and break Internet access, if any.
10 More Discussions You Might Find Interesting
1. Solaris
Hi
Someone logged on the system with a Normal user and changed the password , for this user , how can i know ? who changed the password from which terminal ?
regards
Georges (5 Replies)
Discussion started by: itsgeorge
5 Replies
2. Solaris
Hi,
I need help urgently.
I've been running NIS for 4 years without problem. And just two weeks ago, all my users are unable to change their password which never happens before.
When we issue passwd or yppasswd, this is what we get
passwd : Changing password for Jennifer
Enter existing... (2 Replies)
Discussion started by: jennifer
2 Replies
3. HP-UX
I have two unix system A and B with same configuration.
I can use remsh from A system login to B system as root, but when I want to change the root password of B system, it ask me the old password, but i forgot it.
However, is it possible to change the B system root password? :(
Thanks a lot (3 Replies)
Discussion started by: zetadhell
3 Replies
4. Solaris
Friends
I want to know whether i can change the password of a user logged in thru NIS from a client machine after stopping the YP services in NIS server.
Note - The Slave server is up and running.
I tried doing this. But i got the reply "Permission Denied".
I stopped the YP services in... (7 Replies)
Discussion started by: efunds
7 Replies
5. Linux
Hi all,
I'm having an issue resetting an Linux user password. As root, I type 'passwd <username>, enter the new password, but the user is still Access Denied. Can someone assist me in figuring this one out?
The box is running "Linux trm62 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:18:24 EDT 2004... (6 Replies)
Discussion started by: bbbngowc
6 Replies
6. Solaris
i created 1 user . Now its passwd time period get expired.
Now how can I set password for that user. Also how can I set a condition such a way that after every 3 months user must change his passwd. (5 Replies)
Discussion started by: ajitkraj
5 Replies
7. IP Networking
I have a T2000 server running Solaris 10. I want to change the auto negotiaing on the ethernet ce3 to off. but when
I try with the comand only ce2 changes. I have tried with but failing.
Note: Earlier i was using ce2 but not using ce3 because ce2 failed.
Kindly help (1 Reply)
Discussion started by: lottiem
1 Replies
8. Shell Programming and Scripting
Hi all
Im trying to learn the basics of bash and am struggling with some file manipulation. I am trying to run a script that once you have logged in allows you to change your password which is held (along with the corresponding username) in a different file called usernames. When i try to run my... (2 Replies)
Discussion started by: somersetdan
2 Replies
9. Shell Programming and Scripting
i want to change user to "root" from another user while running a script. how can i automatically feed the password? for example, i want to write a script say "script.sh"... it will first run the command "p" as mhmn user, and then it will change the user to "root" by using "su - root" command. at... (1 Reply)
Discussion started by: mhmn
1 Replies
10. AIX
I want to change the root password on an AIX box. What is the best method to do this so i do not get myself locked out. When I do i search the results come up for resetting the password if you are locked out.
Thanks (5 Replies)
Discussion started by: fierfek
5 Replies
LEARN ABOUT ULTRIX
inet_makeaddr
inet(3n) inet(3n)
Name
inet_addr, inet_network, inet_ntoa, inet_makeaddr, inet_lnaof, inet_netof - Internet address manipulation routines
Syntax
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
unsigned long inet_addr(cp)
char *cp;
unsigned long inet_network(cp)
char *cp;
char *inet_ntoa(in)
struct in_addr in;
struct in_addr inet_makeaddr(net, lna)
int net, lna;
int inet_lnaof(in)
struct in_addr in;
int inet_netof(in)
struct in_addr in;
Description
The routines and each interpret character strings representing numbers expressed in the Internet standard "." notation, returning numbers
suitable for use as Internet addresses and Internet network numbers, respectively. The routine takes an Internet address and returns an
ASCII string representing the address in "." notation. The routine takes an Internet network number and a local network address and con-
structs an Internet address from it. The routines and break apart Internet host addresses, returning the network number and local network
address part, respectively.
All Internet address are returned in network order (bytes ordered from left to right). All network numbers and local address parts are
returned as machine format integer values.
Internet Addresses
Values specified using the "." notation take one of the following forms:
a.b.c.d
a.b.c
a.b
a
When four parts are specified, each is interpreted as a byte of data and assigned, from left to right, to the four bytes of an Internet
address. Note that when an Internet address is viewed as a 32-bit integer quantity on the VAX, the bytes referred to above appear as
"d.c.b.a". That is, VAX bytes are ordered from right to left.
When a three-part address is specified, the last part is interpreted as a 16-bit quantity and placed in the right most two bytes of the
network address. This makes the three-part address format convenient for specifying Class B network addresses as "128.net.host".
When a two-part address is supplied, the last part is interpreted as a 24-bit quantity and placed in the right most three bytes of the net-
work address. This makes the two-part address format convenient for specifying Class A network addresses as "net.host".
When only one part is given, the value is stored directly in the network address without any byte rearrangement.
All numbers supplied as "parts" in a "." notation may be decimal, octal, or hexadecimal, as specified in the C language (i.e. a leading 0x
or 0X implies hexadecimal; otherwise, a leading 0 implies octal; otherwise, the number is interpreted as decimal).
Return Values
The value -1 is returned by and for malformed requests.
See Also
gethostent(3n), getnetent(3n), hosts(5), networks(5)
inet(3n)