• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

Unix account password question

How do i change an ordinary unix account that has a UID of 0 (root).
I use this only as an FTP login.
0
willsherwood
Asked:
willsherwood
  • 2
1 Solution
 
woolmilkporcCommented:
Hi,
strange that you have more than one user with id 0!
You can change the userid by simply editing /etc/passwd and changing it. It's the value after the _second_  colon!
If you can identify files/directories belonging to that user, you can do a 'chown [userid] [file/dir] to make them accessible by the user with the new id.
But be careful and don't accidentally change files/dirs belonging to root!
 
wmp
 
 
0
 
willsherwoodAuthor Commented:
(I don't know what i'm doing, my support folks seem not to be on top of this one)

The goal is to have an FTP account just for my own usage so i can do simple file transfers without having to use putty and shell commands.
The problem they told me was that in order to have FTP permissions for the scope of the one disk that i want (   /home    which contains all the hosting accounts' web sites)
they said i needed to have a root (superuser?) account to accomplish this.

Might there be an alternate strategy?   (that might avoid having two root accounts)

thanks
0
 
woolmilkporcCommented:
Hi,
what group(s) do(es)  those files/directories own?
You could ask your support folks to add all those groups to the group set of your userid. If you need write permissions, the files/folders have to be made group-writeable.
 
wmp
 
 
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now