HELLO GUYS,
How u all guys doing?Recently I brought a system and installed Red Hat Linux in it. I have also got a network card. My question is can i connect NIC to my system and use it as a client? I really don't want to buy another system.
I want to use this computer/system both as server and... (0 Replies)
Help! I am very stuck!!!
I have to produce a practical implementation of ONC RPC for an assignment and I do not know where to start. I hve done much searching on sun's site but everything is too complicated for someone with my limited knowledge. I only know the very basic unix commands and have... (1 Reply)
hi everyone i m a novice user . just want to know how to use this website and also learn unix from the basics. can any one help me please.... (2 Replies)
Hi,
I am observing a problem wiht my script. I tokk that part and executed from the command prompt. Below is the command the error. CAn any one suggest what should be done here.
if ($cnt -lt $maxcnt) then echo deepu fi
ksh: 0: not found
Thanks in advance (16 Replies)
I really want to get into unix scripting,work with RS6000 -AIX.
How do i get started,what books are good for beginners,i am very desperate
I have no programming background but ready to scrafice all my time in learning .please help.
PLEASE,PLEASE PLEASE ,HELP....
Any advice will realy... (2 Replies)
Heya all Im just reading up on the solaris o/s and have a few questions regarding it:
1) is the solaris of free to use/download? if yes where?
2) Can the solaris o/s be loaded from CD without affectin windows o/s just like linux can?
3) what are the hardware requirements for using... (2 Replies)
Heya all Im just reading up on the solaris o/s and unix and i just have the following qustions
1) is the solaris o/s the same as Unix if not how are they different - i.e. are they different operating systems?
2) Can the Unix be loaded from CD without affectin windows o/s just like linux... (2 Replies)
I am just learning unix and need some help. I am trying to display all of the files I have modified within the last 24 hours and sort them from the most recently modified. I can't figure it out.. I've been using a lot of ls and find commands. Here are some things I've tried:
find . -mtime -1 |... (4 Replies)
My pipe delimited file is coming over with spurious “\” characters
inserted into some alpha fields,
which is causing the records to be split into 2.
Eg Abc|def|10/11\
AAAA|xyz
Lmn|opq|10/11BBBB|xyz
etc etc
I am having to go into vi, then enter / \ to... (5 Replies)
I've literally been handed this assessment for my course and the lecturer is of no help at all he's taught us virtually nothing would anyone be able to show me how the following script should look on Linux -
For this assignment you have to write a Linux Shell Script which will allow a user to... (1 Reply)
Discussion started by: Andy_cyber
1 Replies
LEARN ABOUT FREEBSD
passwd
PASSWD(1) BSD General Commands Manual PASSWD(1)NAME
passwd, yppasswd -- modify a user's password
SYNOPSIS
passwd [-l] [user]
yppasswd [-l] [-y] [-d domain] [-h host] [-o]
DESCRIPTION
The passwd utility changes the user's local, Kerberos, or NIS password. If the user is not the super-user, passwd first prompts for the cur-
rent password and will not continue unless the correct password is entered.
When entering the new password, the characters entered do not echo, in order to avoid the password being seen by a passer-by. The passwd
utility prompts for the new password twice in order to detect typing errors.
The total length of the password must be less than _PASSWORD_LEN (currently 128 characters).
Once the password has been verified, passwd communicates the new password information to the Kerberos authenticating host.
The following option is available:
-l Cause the password to be updated only in the local password file, and not with the Kerberos database. When changing only the local
password, pwd_mkdb(8) is used to update the password databases.
When changing local or NIS password, the next password change date is set according to ``passwordtime'' capability in the user's login class.
To change another user's Kerberos password, one must first run kinit(1) followed by passwd. The super-user is not required to provide a
user's current password if only the local password is modified.
NIS INTERACTION
The passwd utility has built-in support for NIS. If a user exists in the NIS password database but does not exist locally, passwd automati-
cally switches into yppasswd mode. If the specified user does not exist in either the local password database or the NIS password maps,
passwd returns an error.
When changing an NIS password, unprivileged users are required to provide their old password for authentication (the rpc.yppasswdd(8) daemon
requires the original password before it will allow any changes to the NIS password maps). This restriction applies even to the super-user,
with one important exception: the password authentication is bypassed for the super-user on the NIS master server. This means that the
super-user on the NIS master server can make unrestricted changes to anyone's NIS password. The super-user on NIS client systems and NIS
slave servers still needs to provide a password before the update will be processed.
The following additional options are supported for use with NIS:
-y Override passwd's checking heuristics and forces it into NIS mode.
-l When NIS is enabled, the -l flag can be used to force passwd into ``local only'' mode. This flag can be used to change the entry for
a local user when an NIS user exists with the same login name. For example, you will sometimes find entries for system
``placeholder'' users such as bin or daemon in both the NIS password maps and the local user database. By default, passwd will try
to change the NIS password. The -l flag can be used to change the local password instead.
-d domain
Specify what domain to use when changing an NIS password. By default, passwd assumes that the system default domain should be used.
This flag is primarily for use by the superuser on the NIS master server: a single NIS server can support multiple domains. It is
also possible that the domainname on the NIS master may not be set (it is not necessary for an NIS server to also be a client) in
which case the passwd command needs to be told what domain to operate on.
-h host
Specify the name of an NIS server. This option, in conjunction with the -d option, can be used to change an NIS password on a non-
local NIS server. When a domain is specified with the -d option and passwd is unable to determine the name of the NIS master server
(possibly because the local domainname is not set), the name of the NIS master is assumed to be ``localhost''. This can be overrid-
den with the -h flag. The specified hostname need not be the name of an NIS master: the name of the NIS master for a given map can
be determined by querying any NIS server (master or slave) in a domain, so specifying the name of a slave server will work equally
well.
-o Do not automatically override the password authentication checks for the super-user on the NIS master server; assume ``old'' mode
instead. This flag is of limited practical use but is useful for testing.
FILES
/etc/master.passwd the user database
/etc/passwd a Version 7 format password file
/etc/passwd.XXXXXX temporary copy of the password file
/etc/login.conf login class capabilities database
SEE ALSO chpass(1), kinit(1), login(1), login.conf(5), passwd(5), kerberos(8), kpasswdd(8), pam_passwdqc(8), pw(8), pwd_mkdb(8), vipw(8)
Robert Morris and Ken Thompson, UNIX password security.
NOTES
The yppasswd command is really only a link to passwd.
HISTORY
A passwd command appeared in Version 6 AT&T UNIX.
BSD February 14, 2014 BSD