Visit Our UNIX and Linux User Community


What happened to my user accounts?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers What happened to my user accounts?
# 8  
Old 03-27-2002
You wrote: message that the ytem could not read from the passwd file .


Is that suppose to be "system could not read". If so, can you post the message (it may be in /var/adm/messages or possibly in the output of dmesg)
thehoghunter
# 9  
Old 03-28-2002
I had a vaguely similar problem with HP-UX 10.20 a while back.
I could log in as root, but VUE (X Windows) wouldn't start, and I got a similar error when trying to log in from console.
Check the permissions to the / directory, and also /usr, /bin, /etc, etc...
In my case, I had inadvertantly changed the permissions on / to 500, as opposed to 555. Use "ls -ld /" to find the perms to /.
# 10  
Old 03-28-2002
I'm with LivinFree, ~ is your home directory and the root's home directory is /. You need a "chmod 755 /" to fix this.
# 11  
Old 03-28-2002
Yep, I had the same thing happen. I changed the parms on the / directory by accident and finally figured it out 4 hours later.

Sounds like a classic permissions problem.

Smilie
# 12  
Old 03-28-2002
Computer Wooo Hoooo !!!!!!!

It was just a permissions issue. I did a chmod 755 / and it did the trick. I can't believe I never thought to check the permissions of / . I was checking the permissions of every file and directory I could possibly think was related to authentication and security and everything checked out OK. I'm glad you guys could help and I thank you all. I would have never thought to check the permissions on /. I guess I hould have found out what chmod ~ did when it executed and didn't return any error messages. Oh well .... thanks again.
# 13  
Old 03-29-2002
Yeah, I spent hours checking every file and directory permission I could find, only to find out it was the most obvious (20.20 hindsight, of course)...
Glad you didn't reinstall!
# 14  
Old 11-21-2003
permission question

My permissions on my passwd and shadow, and group are all 644, and a lot of files in / are set to 777 or 775, where can I go to find out what they should be? Because I'm completely locked out of my user accounts, INCLUDING ROOT, at the windows login, can get to single user mode and mount the c0t0d0s0 partition and then modify it, but can't LOGIN at any point. I'm beginning to wonder if it is a permissions probem on some file that authenticates login.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #505
Difficulty: Medium
An executable statement may not invoke (or call or execute) another procedure (also called subroutine, function, method, etc.),
True or False?

9 More Discussions You Might Find Interesting

1. OS X (Apple)

Thunderbird user accounts

Hi All I am trying to find a way to set-up a thunderbird account by using a script, i have been trying to to add the lines into the pref.js file but it keeps getting overwritten any help would be great thanks Adam (0 Replies)
Discussion started by: ab52
0 Replies

2. Solaris

Help with user accounts

Hi All, How to know all the shells a user has access. Thank you . (0 Replies)
Discussion started by: rama krishna
0 Replies

3. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

4. UNIX for Dummies Questions & Answers

single user mode - user accounts passwords

hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies

5. Shell Programming and Scripting

Creating user accounts

Hi, I have written a program using shell scripting. When you run the file it will asks you to enter the user name, if the user exists it says " user exists " if not it will displays like " user doesnt exist" and then asks you like " do you want to add user with options Yes or No " if you say... (1 Reply)
Discussion started by: vishwaprasad
1 Replies

6. UNIX for Dummies Questions & Answers

Creating user accounts

Hey everyone I am new to the forums and to Unix. I am currently taking a class on Unix, our teacher posed the question to us How do u create a user account without using GUI or command? We are currently running Knoppix version of Unix and for the life of me I can't figure out how this is possible.... (0 Replies)
Discussion started by: Redditt90kg
0 Replies

7. UNIX for Dummies Questions & Answers

User Accounts

Hi, I was wondering if someone could tell me how to display a list of all existing user accounts on the system, not neccesarily looged in. Thanks in advance Stephen (3 Replies)
Discussion started by: sroberts82
3 Replies

8. UNIX for Dummies Questions & Answers

Help with user accounts

I have a root access to a UNIX system. I want to create another account with administrative permissions (create users, delete them, manage print and system configuration), how do I do that? I have a Solaris 9 (SunOS 5.9) installed. Please help. :o (3 Replies)
Discussion started by: neked
3 Replies

9. Shell Programming and Scripting

User Accounts

I have found a script to create user accounts. But there are a few lines i dont understand. Can someone help me with this? Here's the code: ###################################### while ; do ACCT=${USER_ACCT}${START} START=`expr $START + 1` START=`echo ${START} | awk... (3 Replies)
Discussion started by: Sensor
3 Replies

Featured Tech Videos