06-18-2007
are you root ot normal user ? are you sure that you set the $PATH in correct file ? /etc/bashrc or your home folder ?
Quote:
export PATH=$PATH:/etc:$PATH
or
Quote:
For tcsh or csh:
set PATH = ($PATH /usr/sbin /usr/local/bin)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello All,
I am working on Sco unix version 5.0.5.
The passwd command has somehow got corrupted and is only displaying the contents of the /etc/passwd file instead of changing the password.
I wanted to know if there is any other command through which you can change the password of a user from... (5 Replies)
Discussion started by: rahulrathod
5 Replies
2. Shell Programming and Scripting
Friends, a help
I need to do a script in the following way
#!/bin/ksh
passwd="us45#9ii"
su - orapdr -c "sqlplus system/$passwd @verif_tbs.sql"
When and executed in the line cmd is this way
orapdr 2093232 1 0 Aug 21 - 52:02 sqlplus system/us45#9ii @verif_tbs.sql... (1 Reply)
Discussion started by: sandba
1 Replies
3. Shell Programming and Scripting
Hey all,
i have to write a script in Unix that would help me in my department to search certain user ids valid in /etc/passwd file.. here goes the exact question & data to help analyze:
Amend a script to tell the user to enter a user id to be searched for in the /etc/passwd file. If there are no... (7 Replies)
Discussion started by: ally_d
7 Replies
4. Linux
hai friends i have deleted passwd command using rm command i thought it will come again at the time of rebooting but it is completely deleted how to get it worked again (5 Replies)
Discussion started by: venkata.ganesh
5 Replies
5. UNIX for Dummies Questions & Answers
on Runnning passwd command on HPUX 11.23
I am getting
pam_chauthtok: Shared object load failure.
Pls help ... (1 Reply)
Discussion started by: ultimatix
1 Replies
6. Emergency UNIX and Linux Support
on Runnning passwd command on HPUX 11.23
I am getting
pam_chauthtok: Shared object load failure.
Pls help ... (13 Replies)
Discussion started by: ultimatix
13 Replies
7. UNIX for Dummies Questions & Answers
Hello to everybody i have question i do the
passwd -s -a commando and what to knos what is the meaning
of the second row.
PS
NL
LK
to the side is the date of expiraton and then a 7 a 90 what is the meaning of all that? tHANK YOU FOR YOUR TIME. (1 Reply)
Discussion started by: enkei17
1 Replies
8. Shell Programming and Scripting
Hi All,
I have a requirment..
I need to pass a registry password to a command.. Actually when the command executed in the script, it will return some warnings first, then after it'll ask password like below,
$ cleartool rmtag -vob -all <vob_name>
Warnings: ------------------
Registry... (3 Replies)
Discussion started by: raghu.iv85
3 Replies
9. Solaris
hi
Actually the normal user as the permission of executing the passwd command due to suid program... eg consider the two users (normal user) as tom & jerry! when tom executes command as " passwd tom" no issue here...
In the same way when the same user tom uses the command as "passwd jerry" ... (1 Reply)
Discussion started by: sriniv666
1 Replies
10. AIX
Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies
LEARN ABOUT MOJAVE
filecap
FILECAP:(8) System Administration Utilities FILECAP:(8)
NAME
filecap - a program to see capabilities
SYNOPSIS
filecap [ -a | -d | /dir | /dir/file [cap1 cap2 ...] ]
DESCRIPTION
filecap is a program that prints out a report of programs with file based capabilities. If a file is not in the report or there is no
report at all, no capabilities were found. For expedience, the default is to check only the directories in the PATH environmental variable.
If the -a command line option is given, then all directories will be checked. If a directory is passed, it will recursively check that
directory. If a path to a file is given, it will only check that file. If the path to the file includes capabilities, then they are written
to the file.
OPTIONS
-a This tells the program to show all capabilities starting from the / directory. Normally the PATH environmental variable is used to
show you capabilities on files you are likely to execute.
-d This dumps all capabilities for reference.
EXAMPLES
To check file capabilities in $PATH:
filecap
To check file capabilities of whole system:
filecap -a
To check file capabilities recursively in a directory:
filecap /usr
To check file capabilities of a specific program:
filecap /bin/passwd
To list all possible capabilities:
filecap -d
To set a file capability on a specific program:
filecap /bin/ping net_raw net_admin
SEE ALSO
pscap(8), netcap(8), capabilities(7).
AUTHOR
Steve Grubb
Red Hat March 2009 FILECAP:(8)