The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
changing /cn@0:console file permissions ErnieG Security 4 12-04-2007 05:39 AM
Can I prevent a user from changing the permissions on their home directory. DanL UNIX for Dummies Questions & Answers 2 08-29-2006 09:56 AM
Changing file permissions FredSmith UNIX for Dummies Questions & Answers 7 05-17-2006 05:15 AM
Changing Permissions pdavid Shell Programming and Scripting 4 02-06-2002 06:21 PM
changing file permissions gagansharma Shell Programming and Scripting 0 11-27-2001 08:26 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-03-2002
Registered User
 

Join Date: Jun 2002
Posts: 4
Changing permissions of a user

So I need to change the permissions of my user account. I can
access the root account on the server, but don't know how to
change the permissions of my user account. I was advised to
try 'userconf' to see if I am part of a group, but I dunno how that works. ANyone who knows how to see the members of a group and how to change permissions on a user from root, PLEASE HELP!!

Forum Sponsor
  #2  
Old 06-03-2002
thehoghunter
Guest
 

Posts: n/a
What OS are you using? From your question I'm not sure about what exactly you are trying to change.

If it's permissions on files - check out the man page on chmod
If it's owner of files - check out the man page on chown
If it's for when a user creates new files - check out umask
If it's for accessing different directories - check out the group file (possibly in /etc) or in NIS ypcat group.

If you are using NIS then you need to change a user's group via the Master NIS server.
If you don't know how userconf works, check the man page ( try from the % or $ prompt

% man userconf

And do not post questions twice!!
  #3  
Old 06-03-2002
Registered User
 

Join Date: Jun 2002
Posts: 4
Okay, what i meant is when I go into a file via vi and try to change something and save the changes with :wq, i get the message "Cannot create backup file, (use ! to override)". Also whenever i try to create a new file, after i write the file, and type :wq, it says "test.pl (that's my file) Cannot open file for writing" What does this mean? How come I cannot edit anything but can access the files and read them.

I tried man userconf. It gives me "no manual entry for userconf." Is userconf even a command?

Lastly, I'm not sure what OS this server is on. I inherited this project from a friend. It's a learning project for me, so I'm trying to get familiar with Unix and perl.
  #4  
Old 06-03-2002
thehoghunter
Guest
 

Posts: n/a
Okay, to get the OS - post the output of the uname -a command.
(check the man page before doing anything anyone tells you to do - just so you know they didn't get you to kill something ;-)

% uname -a

Is there a command userconf? Not on my servers - I searched the forums and found it posted one other time as an answer but it didn't note what the OS was. Since we don't know what you are running yet, hard to say. Each UNIX version is different - when I went from Solaris to AIX (only for 4 months) I was blown away by what did not work anymore (commands that SUN added to their software - mostly for administration).

It sounds like you are looking to be able to change files so check out the following man pages for your system -
% man id
% man who
% man chmod
% man chown

Make sure if you start changing ownership and permissions that it isn't going to
1. Make your system unsecure.
2. Break an application or server because joeuser now owns all the files.

If you need more info, post back
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 01:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0