Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
creating user profiles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
makavelli
n00b
n00b


Joined: 10 Jul 2002
Posts: 13

PostPosted: Fri Jul 19, 2002 4:13 pm    Post subject: creating user profiles Reply with quote

i am trying to edit the .profile file for the users because on my current system i have 2 users and i want to give them permissions to startx and stuff like that. The thing is that i do not have a profile file in the home directory for the users and i was trying to create one. So i open one up with nano and after i'm finished and i try to save it it gives me an error saying that the file cannot be opened for writing. Does anybody know what the problem is


Thx a lot
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jul 19, 2002 4:35 pm    Post subject: Reply with quote

What user are you running as when you try to edit the files and does that user have write permission on the directory in question?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
makavelli
n00b
n00b


Joined: 10 Jul 2002
Posts: 13

PostPosted: Fri Jul 19, 2002 4:45 pm    Post subject: creating user profiles Reply with quote

well when i try to create the profile for a certain user i am logged in as the user for ex when i trying to edit the profile for the user alex i am lgged in as alex but i don't know why i cannot create the profile

Thx for the reply

makavelli
Back to top
View user's profile Send private message
Guest






PostPosted: Fri Jul 19, 2002 5:41 pm    Post subject: Reply with quote

Do the user directories exist and have proper permissions? Did you have a "-m" flag in useradd when you created the user?

You can also change /etc/profile to make your changes "global" to all users.
Back to top
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum