LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-04-2008, 07:48 PM   #1
Counal1
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
help?.
Thanks in adv.
 
Old 04-05-2008, 01:11 AM   #2
ehawk
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".

http://www.cyberciti.biz/faq/create-...nix-from-bash/

http://www.pixelbeat.org/cmdline.html
 
Old 04-05-2008, 01:32 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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, 09:24 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 04:38 PM   #5
Counal1
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, 06:43 PM   #6
ehawk
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:

http://www.redhat.com/docs/manuals/l...grps-proc.html

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


Reply



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 09:12 AM
creating new users skvasistha Linux - General 3 11-26-2004 11:02 PM
Howto stop users creating certain files kinasz Linux - Security 4 05-06-2004 02:13 AM
Creating Users [HELP] reddog64 Linux - Newbie 2 04-24-2004 10:34 AM
Creating Users mrsolo Linux - Software 2 12-10-2002 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:45 AM.

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