LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-02-2011, 08:23 AM   #1
szacks
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Rep: Reputation: 0
script knowing a chrooted user


If someone has physical access to a machine, they can boot up with a live cd and chroot in to the filesystem as root.

1) Is there any way of a bash script script knowing if the computer was booted regularly or if it was chrooted into?

2) Is there a way to have a script run automatically when the user chroots in?
 
Old 02-02-2011, 09:49 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

Just a correction: if someone has physical access to the machine, he won't waste time to boot on a live cd, he will directly boot into single user mode and directly get root credentials.
About your questions 1) and 2): not to my knowledge... but my knowledge are quite limited

Oliv'
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc not found in chrooted user EPM_Students Linux From Scratch 3 04-12-2005 04:58 AM
ProFTPD for chrooted users (/home/hosting/user) ? Niels@debian Linux - Software 5 08-12-2004 07:38 PM
How do i re-install or delete a user without knowing the username or password? burnoutKyle Red Hat 4 03-12-2004 02:21 PM
about vsftp chrooted user... raymond Linux - General 5 08-18-2003 09:20 PM
Uninstalling Redhat without knowing the user password DeathMaster1 Linux - General 4 06-20-2002 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:54 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