LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2005, 02:24 PM   #1
Magusofdreams
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian
Posts: 10

Rep: Reputation: 0
ssh and chmod


With chmod can you change all the subdirectories to and if so how? Can a user be in more then one group? Can a file have more then one group?

Now my ssh questions. I got the ssh daemon running but aparantly in need to have some form of key install and make some user for ssh. How would I go about doing that?
 
Old 03-04-2005, 02:30 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 68
Welcome to LQ.

You can recursively chmod or chown using the "-R" switch.

A user can be in more than one group.

A file cannot normally have more than one group but you may want to look at extended attributes.

You can make public keys (I assume thats what you mean) using this tutorial:
http://www.linuxquestions.org/questi...ticle&artid=79
 
Old 03-04-2005, 02:47 PM   #3
Magusofdreams
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you I can't wait to get home to try making my public keys. I would do it remotely but I can't get into my ssh server. I should have read the man page for chmod a little close. Thank you again.

Last edited by Magusofdreams; 03-04-2005 at 02:48 PM.
 
Old 03-04-2005, 02:51 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 68
No problem! We're here to help!
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
What can we do if we type chmod ugo-x /bin/chmod ?????? bunny123 Linux - Software 3 02-01-2005 08:53 PM
CHMOD in shell : chmod 777 /usr/ <---is that right? cpanelskindepot Programming 5 07-16-2004 05:37 AM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:24 PM.

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