![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| script in saved in compress format | naveeng.81 | Shell Programming and Scripting | 1 | 04-14-2008 05:31 AM |
| Sudo file not saved | Asteroid | UNIX for Advanced & Expert Users | 0 | 07-30-2007 04:18 AM |
| only root's crontab gets not saved | flok | UNIX for Advanced & Expert Users | 1 | 06-25-2007 07:50 AM |
| How can I tranfer an OS/ Unix (from old HD to new HD / include all files saved ) | Vietnam | UNIX for Dummies Questions & Answers | 0 | 08-04-2006 08:27 PM |
| I inhereted a Unix server that is password protected...Help! | fxsaint | UNIX for Dummies Questions & Answers | 1 | 10-26-2000 05:12 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Where are the password saved in a UNIX server?
I was wondering where are the password saved in a UNIX server?
And are there som standar user and pass? Thanks for answering me. And sorry if this was a really stupid question. |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
I know now that on your UNIX you have a root but that dosent have any password before you activate it. You see... I am learning, so please dont be so sarkastic. //dont know how to spell it. But you did say something about passwd in there I found this.. But I dont know what it means: root:x:0:0::/root:/bin/bash bin:x:1:1:bin:/bin: daemon:x:2:2:daemon:/sbin: adm:x:3:4:adm:/var/log: Can someone tell me about it? |
|
|||
|
I haven't been a UNIX admin for more than 10 years but here is a very brief synopsis:
/etc/passwd contains UNIX logons, their encrypted passwords perhaps still on some systems, their UID, default GID, what's known as the gecos field (informational), and the user's home directory. /etc/shadow now days augments the /etc/passwd file by holding the encrypted version of the password. There are some common accounts on UNIX systems such as root, daemon, bin, sys, lp, etc. |
|
|||
|
Quote:
Quote:
Quote:
username:passwordhash:uid:gid:undefined:homedir:loginshell When the password hash is x, that means it's stored somewhere else, possibly /etc/shadow. It's not stored plaintext, but as an unrecognizable hash. When someone tries to login, it hashes what they type and compares the hashes. You don't edit any of these files yourself, you use the passwd command. See 'man passwd'. |
|||
| Google The UNIX and Linux Forums |