Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-04-2008, 08:48 PM   #1
LQ Newbie
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
Question Creating Files as Users

I am learning Redhat Linux now and installed it in my machine. I
created four user ids (user1, user2 etc). Now i want to create files
under these user ids. I am not sure how to proceed on that. can anyone
Thanks in adv.
Old 04-05-2008, 02:11 AM   #2
Senior Member
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Well, the least confusing way would be to simply open the web browser, find a web page and use the menu commands at the top of the browser window to save a web page. Depending on which user you are logged in as, it should save to the home directory of that user, I think. Then you can open up a terminal window and enter "ls" at the command line. It should list the file you saved (probably .html file).

If you know how use the menu to open up a text editor, you could type something then save it . You should then see that file also when you are in your home directory and enter "ls".
Old 04-05-2008, 02:32 AM   #3
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
Old 04-06-2008, 10:24 AM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Login as user, then simply do:

touch file1 file2 file3

That's how you would create empty files under each user. What exactly are you trying to accomplish? Also, use better thread titles in the future, your's is utter crap and doesn't describe your actual question.
Old 04-07-2008, 05:38 PM   #5
LQ Newbie
Registered: Apr 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks. I do not know how to login as user1 in linux machine.
Old 04-07-2008, 07:43 PM   #6
Senior Member
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
ok, I thought this was how you created user accounts in red hat linux:

Then I thought you could log out and log back in as the new user with the newly created password.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating new users christopher_c Linux - Newbie 3 10-05-2007 10:12 AM
creating new users skvasistha Linux - General 3 11-27-2004 12:02 AM
Howto stop users creating certain files kinasz Linux - Security 4 05-06-2004 03:13 AM
Creating Users [HELP] reddog64 Linux - Newbie 2 04-24-2004 11:34 AM
Creating Users mrsolo Linux - Software 2 12-10-2002 02:39 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration