Sponsored Content
Top Forums UNIX for Dummies Questions & Answers User should not be allowed to change passwd Post 96750 by jyoung on Monday 23rd of January 2006 09:40:58 AM
Old 01-23-2006
Try the pwdadm command - pwdadm -c <userid>

Do a man on it and you can get more info.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need to change root passwd

I booted up Sun V240 server with boot cdrom -s using the Sun Operating System CD. I now am at the # prompt and su - root . The system will not allow me to set password for root. Get following error: # passwd New Password: xxxxxxxx Re-enter new Password: xxxxxxxx passwd: Unexpected failure. ... (4 Replies)
Discussion started by: mayewil
4 Replies

2. UNIX for Advanced & Expert Users

sftp problem with user id of no telnet session allowed

We used to have a ftp user id with no telnet session allowed in server side. We used this ftp user id in script by transferring file from client to Server. Currently we need to implement sftp to replace ftp. We have tested few round and working fine by using sftp with normal user id (allow... (2 Replies)
Discussion started by: superdougl
2 Replies

3. UNIX for Dummies Questions & Answers

I am the owner,yet not allowed the change the ownership

sm860 IS the owner of the files below,but yet sm860 cannot change the ownership to bpt3a1.Please let me know why ? See below for details --- sm860@unixs741_DEV:/usr/gdp/home/ftp/bpt3a1/incoming/ahdb/T5/pcasav/daily $ ls -l pcasav* -rw-r--r-- 1 sm860 gdpintegrators 821 Sep 21 16:15... (8 Replies)
Discussion started by: MSHETTY
8 Replies

4. UNIX for Advanced & Expert Users

change passwd remotely in solaris 10

i'm trying to change passwd remotely in unix (solaris) and tried using "expect" but it is not working. Any ideas to change the passwd remotely using a shell script? (1 Reply)
Discussion started by: pharos467
1 Replies

5. Shell Programming and Scripting

ksh script to change passwd

Hello All, I am trying to change a user passwd (one time password): cat /tmp/passwd mnop1234 mnop1234 #passwd abcd < /tmp/passwd (for some reason, it is not able to input the password from /tmp/passwd and comes back with "New Password: ") Is there a work around except using "expect". ... (1 Reply)
Discussion started by: solaix14
1 Replies

6. Solaris

Force user to change passwd on first login

Hello All, How to force user to change his login passwd on his first login in solaris 10 ? while adding user do we need to set the password in theis case?? (7 Replies)
Discussion started by: saurabh84g
7 Replies

7. UNIX for Advanced & Expert Users

Determining if user is local-user in /etc/passwd or LDAP user

Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent. The Operating system is Solaris 10 (recent-ish revision) using Sun DS for LDAP. (5 Replies)
Discussion started by: ckmehta
5 Replies

8. Shell Programming and Scripting

Need script to monitor change in /etc/passwd

Hi All, From Audit point of view, I need to add a script to my production Solaris servers. That should be able to mail me, if any user is added or removed. That means, I should get a mail, what user is deleted or added in /etc/passwd, i.e. if there is a change in this file, I should be... (8 Replies)
Discussion started by: solaris_1977
8 Replies

9. Solaris

Unable to change the passwd

bash-3.00# passwd sami New Password: Re-enter new Password: Dec 14 00:07:43 hack passwd: passwdutil: crypt_gensalt Invalid argument passwd: Unexpected failure. Password database unchanged. Permission denied i got this error while i am change the user(sami) passwd. (3 Replies)
Discussion started by: samiulla
3 Replies

10. Solaris

Can't change users passwd

Have an issue with a user or root changing the user's passwd. We run the passwd command and a complex passwd is entered a message is displayed, "passwd is based on a dictionary word." We do have a dictionary file and I know for a fact the complex passwd is not in the list. This happens on a... (3 Replies)
Discussion started by: solizkewl
3 Replies
GIT-HELP(1)							    Git Manual							       GIT-HELP(1)

NAME
       git-help - Display help information about Git

SYNOPSIS
       git help [-a|--all] [-g|--guide]
		  [-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]

DESCRIPTION
       With no options and no COMMAND or GUIDE given, the synopsis of the git command and a list of the most commonly used Git commands are
       printed on the standard output.

       If the option --all or -a is given, all available commands are printed on the standard output.

       If the option --guide or -g is given, a list of the useful Git guides is also printed on the standard output.

       If a command, or a guide, is given, a manual page for that command or guide is brought up. The man program is used by default for this
       purpose, but this can be overridden by other options or configuration variables.

       Note that git --help ... is identical to git help ... because the former is internally converted into the latter.

       To display the git(1) man page, use git help git.

       This page can be displayed with git help help or git help --help

OPTIONS
       -a, --all
	   Prints all the available commands on the standard output. This option overrides any given command or guide name.

       -g, --guides
	   Prints a list of useful guides on the standard output. This option overrides any given command or guide name.

       -i, --info
	   Display manual page for the command in the info format. The info program will be used for that purpose.

       -m, --man
	   Display manual page for the command in the man format. This option may be used to override a value set in the help.format configuration
	   variable.

	   By default the man program will be used to display the manual page, but the man.viewer configuration variable may be used to choose
	   other display programs (see below).

       -w, --web
	   Display manual page for the command in the web (HTML) format. A web browser will be used for that purpose.

	   The web browser can be specified using the configuration variable help.browser, or web.browser if the former is not set. If none of
	   these config variables is set, the git web--browse helper script (called by git help) will pick a suitable default. See git-
	   web--browse(1) for more information about this.

CONFIGURATION VARIABLES
   help.format
       If no command-line option is passed, the help.format configuration variable will be checked. The following values are supported for this
       variable; they make git help behave as their corresponding command- line option:

       o   "man" corresponds to -m|--man,

       o   "info" corresponds to -i|--info,

       o   "web" or "html" correspond to -w|--web.

   help.browser, web.browser and browser.<tool>.path
       The help.browser, web.browser and browser.<tool>.path will also be checked if the web format is chosen (either by command-line option or
       configuration variable). See -w|--web in the OPTIONS section above and git-web--browse(1).

   man.viewer
       The man.viewer configuration variable will be checked if the man format is chosen. The following values are currently supported:

       o   "man": use the man program as usual,

       o   "woman": use emacsclient to launch the "woman" mode in emacs (this only works starting with emacsclient versions 22),

       o   "konqueror": use kfmclient to open the man page in a new konqueror tab (see Note about konqueror below).

       Values for other tools can be used if there is a corresponding man.<tool>.cmd configuration entry (see below).

       Multiple values may be given to the man.viewer configuration variable. Their corresponding programs will be tried in the order listed in
       the configuration file.

       For example, this configuration:

		   [man]
			   viewer = konqueror
			   viewer = woman

       will try to use konqueror first. But this may fail (for example, if DISPLAY is not set) and in that case emacs' woman mode will be tried.

       If everything fails, or if no viewer is configured, the viewer specified in the GIT_MAN_VIEWER environment variable will be tried. If that
       fails too, the man program will be tried anyway.

   man.<tool>.path
       You can explicitly provide a full path to your preferred man viewer by setting the configuration variable man.<tool>.path. For example, you
       can configure the absolute path to konqueror by setting man.konqueror.path. Otherwise, git help assumes the tool is available in PATH.

   man.<tool>.cmd
       When the man viewer, specified by the man.viewer configuration variables, is not among the supported ones, then the corresponding
       man.<tool>.cmd configuration variable will be looked up. If this variable exists then the specified tool will be treated as a custom
       command and a shell eval will be used to run the command with the man page passed as arguments.

   Note about konqueror
       When konqueror is specified in the man.viewer configuration variable, we launch kfmclient to try to open the man page on an already opened
       konqueror in a new tab if possible.

       For consistency, we also try such a trick if man.konqueror.path is set to something like A_PATH_TO/konqueror. That means we will try to
       launch A_PATH_TO/kfmclient instead.

       If you really want to use konqueror, then you can use something like the following:

		   [man]
			   viewer = konq

		   [man "konq"]
			   cmd = A_PATH_TO/konqueror

   Note about git config --global
       Note that all these configuration variables should probably be set using the --global flag, for example like this:

	   $ git config --global help.format web
	   $ git config --global web.browser firefox

       as they are probably more user specific than repository specific. See git-config(1) for more information about this.

GIT
       Part of the git(1) suite

Git 2.17.1							    10/05/2018							       GIT-HELP(1)
All times are GMT -4. The time now is 09:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy