![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to get passwd command again if it is deleted by usin rm command | venkata.ganesh | Linux | 4 | 06-11-2007 01:18 PM |
| Passwd in the line command | sandba | Shell Programming and Scripting | 1 | 08-22-2006 08:33 AM |
| How do I parse passwords into passwd command. | gilberteu | Shell Programming and Scripting | 0 | 03-28-2006 08:26 AM |
| passwd command not working | rahulrathod | UNIX for Dummies Questions & Answers | 5 | 12-09-2004 12:46 PM |
| comparable command in OpenBSD for linux's "passwd -l (name)" | xyyz | BSD | 1 | 09-11-2003 04:08 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
passwd command search
Hi.
When i execute which passwdit is showing /usr/bin/passwd, eventhough i set my path as PATH=/etc:$PATH i just checked the permission for the passwd under /usr/bin -r-sr-sr-x what exactly happening? and what is that s signifies Thanks. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
are you root ot normal user ? are you sure that you set the $PATH in correct file ? /etc/bashrc or your home folder ?
Quote:
Quote:
|
|
#3
|
|||
|
|||
|
Thanks for reply, i am a normal user and my shell in korn shell. I am working under SunOs5.9
Thanks. |
|
#4
|
|||
|
|||
|
Hi,
Code:
$ ls -l /etc/passwd -rw-r--r-- 1 root root 1395 Jun 9 20:15 /etc/passwd Code:
$ ls -l /usr/bin/passwd -r-s--x--x 1 root root 16336 Feb 14 2003 /usr/bin/passwd Thus the passwd program allows normal users to change password,which requires ability to write to /etc/passwd file. Thanks Nagarajan Ganesan. |
|
#5
|
|||
|
|||
|
Thanks Nagaraj for your explanation
is there any situation we need to go for set uid? then what is the purpose of set gid? clear me with some more examples Thanks. |
|
#6
|
|||
|
|||
| Google The UNIX and Linux Forums |