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.
willsherwoodAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.